mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2024-12-23 05:59:22 -05:00
2a33c3b962
This doesn't switch to using a dedicated certbot user yet since the hooks used across the services will all still need to work.
29 lines
773 B
Plaintext
29 lines
773 B
Plaintext
[Service]
|
|
CapabilityBoundingSet=
|
|
CPUSchedulingPolicy=batch
|
|
ExecStart=/usr/bin/certbot -q renew --no-random-sleep-on-renew
|
|
LockPersonality=true
|
|
MemoryDenyWriteExecute=true
|
|
PrivateDevices=true
|
|
PrivateIPC=true
|
|
PrivateUsers=true
|
|
ProcSubset=pid
|
|
ProtectClock=true
|
|
ProtectControlGroups=true
|
|
ProtectHome=read-only
|
|
ProtectHostname=true
|
|
ProtectKernelLogs=true
|
|
ProtectKernelModules=true
|
|
ProtectKernelTunables=true
|
|
ProtectProc=invisible
|
|
ProtectSystem=strict
|
|
ReadWritePaths=/etc/letsencrypt /var/lib/letsencrypt /var/log/letsencrypt -/srv/certbot
|
|
RemoveIPC=true
|
|
RestrictAddressFamilies=AF_INET AF_INET6
|
|
RestrictNamespaces=true
|
|
RestrictRealtime=true
|
|
RestrictSUIDSGID=true
|
|
SystemCallArchitectures=native
|
|
SystemCallFilter=@system-service
|
|
SystemCallFilter=~@privileged @resources @obsolete
|