diff options
Diffstat (limited to 'roles/lists/files/lib/systemd/system/wwsympa.service')
-rw-r--r-- | roles/lists/files/lib/systemd/system/wwsympa.service | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/lists/files/lib/systemd/system/wwsympa.service b/roles/lists/files/lib/systemd/system/wwsympa.service index ea2a78f..b525145 100644 --- a/roles/lists/files/lib/systemd/system/wwsympa.service +++ b/roles/lists/files/lib/systemd/system/wwsympa.service @@ -10,5 +10,14 @@ User=sympa Group=sympa ExecStart=/usr/lib/cgi-bin/sympa/wwsympa.fcgi +# Hardening +NoNewPrivileges=yes +PrivateDevices=yes +ProtectHome=yes +ProtectSystem=full +ReadOnlyDirectories=/ +ReadWriteDirectories=-/var/lib/sympa +ReadWriteDirectories=-/var/run/sympa + [Install] WantedBy=multi-user.target |