blob: 6f7079685883ff0a207d20bcb27ed70649781bc7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
[Unit]
Description=Clean healthchecks database
Documentation=https://github.com/healthchecks/healthchecks
[Service]
Type=oneshot
ExecStart=/usr/lib/healthchecks/hc-clean-db
WorkingDirectory=/var/lib/healthchecks
User=healthchecks
Group=healthchecks
NoNewPrivileges=yes
LimitNOFILE=1048576
LimitNPROC=64
UMask=0077
ProtectSystem=strict
ProtectHome=yes
ReadWritePaths=/var/lib/healthchecks
PrivateTmp=yes
PrivateDevices=yes
ProtectHostname=yes
ProtectClock=yes
ProtectKernelTunables=yes
ProtectKernelModules=yes
ProtectKernelLogs=yes
ProtectControlGroups=yes
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
RestrictNamespaces=yes
LockPersonality=yes
MemoryDenyWriteExecute=yes
RestrictRealtime=yes
RestrictSUIDSGID=yes
RemoveIPC=yes
SystemCallFilter=@system-service
SystemCallFilter=~@privileged @resources
SystemCallArchitectures=native
|