Add NoNewPrivileges=true for certbot

This commit is contained in:
Tommy 2024-06-24 08:51:14 -07:00 committed by Daniel Micay
parent 55221c8e44
commit 6fc45525d9

View File

@ -5,6 +5,7 @@ ExecStart=
ExecStart=/usr/bin/certbot -q renew --no-random-sleep-on-renew --max-log-backups 0 ExecStart=/usr/bin/certbot -q renew --no-random-sleep-on-renew --max-log-backups 0
LockPersonality=true LockPersonality=true
MemoryDenyWriteExecute=true MemoryDenyWriteExecute=true
NoNewPrivileges=true
PrivateDevices=true PrivateDevices=true
PrivateIPC=true PrivateIPC=true
PrivateUsers=true PrivateUsers=true