-
Notifications
You must be signed in to change notification settings - Fork 0
/
acme.service
38 lines (37 loc) · 846 Bytes
/
acme.service
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
37
38
[Unit]
Description=ACME certificate renewal
[Service]
Type=oneshot
User=acme
Group=acme
PermissionsStartOnly=True
ExecStart=/usr/bin/acme-renew
ExecStartPost=!/usr/bin/acme-post
Restart=on-failure
StateDirectory=acme
ReadWritePaths=/etc/acme/
AmbientCapabilities=
CapabilityBoundingSet=
LockPersonality=true
MemoryDenyWriteExecute=true
NoNewPrivileges=true
PrivateDevices=true
PrivateTmp=true
PrivateUsers=true
ProtectClock=true
ProtectControlGroups=yes
ProtectHome=true
ProtectHostname=true
ProtectKernelLogs=true
ProtectKernelModules=yes
ProtectKernelTunables=true
ProtectProc=invisible
ProtectSystem=strict
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
RestrictNamespaces=true
RestrictRealtime=true
RestrictSUIDSGID=true
#SecureBits=noroot-locked
SystemCallArchitectures=native
SystemCallFilter=@system-service
SystemCallErrorNumber=EPERM