Update php systemd service files

This commit is contained in:
Daniel Winzen
2020-01-11 13:33:34 +01:00
parent 5abb32402d
commit e9c4b798d5
7 changed files with 9 additions and 10 deletions

View File

@ -14,8 +14,7 @@ LimitNOFILE=100000
TimeoutStartSec=300 TimeoutStartSec=300
ProtectSystem=strict ProtectSystem=strict
PrivateTmp=true PrivateTmp=true
# sendmail requires it... enable once chrooted NoNewPrivileges=true
#NoNewPrivileges=true
PrivateDevices=true PrivateDevices=true
ProtectKernelTunables=true ProtectKernelTunables=true
ProtectKernelModules=true ProtectKernelModules=true

View File

@ -14,7 +14,7 @@ LimitNOFILE=100000
TimeoutStartSec=300 TimeoutStartSec=300
ProtectSystem=strict ProtectSystem=strict
PrivateTmp=true PrivateTmp=true
# sendmail requires it... enable once chrooted # sendmail requires it...
#NoNewPrivileges=true #NoNewPrivileges=true
PrivateDevices=true PrivateDevices=true
ProtectKernelTunables=true ProtectKernelTunables=true
@ -27,6 +27,7 @@ ReadWritePaths=-/var/run/
ReadWritePaths=-/run/ ReadWritePaths=-/run/
ReadWritePaths=-/var/local/squirrelmail/ ReadWritePaths=-/var/local/squirrelmail/
ReadWritePaths=-/var/www/ ReadWritePaths=-/var/www/
ReadWritePaths=-/var/spool/postfix/
InaccessiblePaths=-/root/ InaccessiblePaths=-/root/
CPUQuota=100% CPUQuota=100%
MemoryHigh=25% MemoryHigh=25%

View File

@ -11,7 +11,6 @@ Type=oneshot
RemainAfterExit=yes RemainAfterExit=yes
ExecStart=/bin/true ExecStart=/bin/true
ExecReload=/bin/true ExecReload=/bin/true
RuntimeDirectoryPreserve=yes
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

View File

@ -14,8 +14,7 @@ LimitNOFILE=100000
TimeoutStartSec=300 TimeoutStartSec=300
ProtectSystem=strict ProtectSystem=strict
PrivateTmp=true PrivateTmp=true
# sendmail requires it... enable once chrooted NoNewPrivileges=true
#NoNewPrivileges=true
PrivateDevices=true PrivateDevices=true
ProtectKernelTunables=true ProtectKernelTunables=true
ProtectKernelModules=true ProtectKernelModules=true

View File

@ -14,7 +14,7 @@ LimitNOFILE=100000
TimeoutStartSec=300 TimeoutStartSec=300
ProtectSystem=strict ProtectSystem=strict
PrivateTmp=true PrivateTmp=true
# sendmail requires it... enable once chrooted # sendmail requires it...
#NoNewPrivileges=true #NoNewPrivileges=true
PrivateDevices=true PrivateDevices=true
ProtectKernelTunables=true ProtectKernelTunables=true
@ -27,6 +27,7 @@ ReadWritePaths=-/var/run/
ReadWritePaths=-/run/ ReadWritePaths=-/run/
ReadWritePaths=-/var/local/squirrelmail/ ReadWritePaths=-/var/local/squirrelmail/
ReadWritePaths=-/var/www/ ReadWritePaths=-/var/www/
ReadWritePaths=-/var/spool/postfix/
InaccessiblePaths=-/root/ InaccessiblePaths=-/root/
CPUQuota=100% CPUQuota=100%
MemoryHigh=25% MemoryHigh=25%

View File

@ -14,8 +14,7 @@ LimitNOFILE=100000
TimeoutStartSec=300 TimeoutStartSec=300
ProtectSystem=strict ProtectSystem=strict
PrivateTmp=true PrivateTmp=true
# sendmail requires it... enable once chrooted NoNewPrivileges=true
#NoNewPrivileges=true
PrivateDevices=true PrivateDevices=true
ProtectKernelTunables=true ProtectKernelTunables=true
ProtectKernelModules=true ProtectKernelModules=true

View File

@ -14,7 +14,7 @@ LimitNOFILE=100000
TimeoutStartSec=300 TimeoutStartSec=300
ProtectSystem=strict ProtectSystem=strict
PrivateTmp=true PrivateTmp=true
# sendmail requires it... enable once chrooted # sendmail requires it...
#NoNewPrivileges=true #NoNewPrivileges=true
PrivateDevices=true PrivateDevices=true
ProtectKernelTunables=true ProtectKernelTunables=true
@ -27,6 +27,7 @@ ReadWritePaths=-/var/run/
ReadWritePaths=-/run/ ReadWritePaths=-/run/
ReadWritePaths=-/var/local/squirrelmail/ ReadWritePaths=-/var/local/squirrelmail/
ReadWritePaths=-/var/www/ ReadWritePaths=-/var/www/
ReadWritePaths=-/var/spool/postfix/
InaccessiblePaths=-/root/ InaccessiblePaths=-/root/
CPUQuota=100% CPUQuota=100%
MemoryHigh=25% MemoryHigh=25%