add additional protections to the management daemon's runtime environment

This commit is contained in:
downtownallday committed 2022-09-18 15:43:10 -04:00
1 parent 5e1dcc933f
commit 603b716ac2
2 files changed
+11

No files matched your search

+10
View File
@@ -5,6 +5,16 @@ After=multi-user.target
[Service]
Type=idle
IgnoreSIGPIPE=False
ProtectSystem=yes
ProtectHome=read-only
ReadWritePaths=STORAGE_ROOT
PrivateDevices=yes
PrivateNetwork=no
ProtectClock=yes
ProtectKernelTunables=yes
ProtectKernelModules=yes
ProtectKernelLogs=yes
SyslogIdentifier=mailinabox
ExecStart=/usr/local/lib/mailinabox/start
[Install]