mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-03-12 17:07:23 +01:00
add additional protections to the management daemon's runtime environment
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user