37 lines
898 B
Desktop File
37 lines
898 B
Desktop File
[Unit]
|
|
Description=The PHP 7.4 FastCGI Process Manager
|
|
Documentation=man:php-fpm7.4(8)
|
|
After=network.target
|
|
PartOf=php7.4-fpm.service
|
|
ReloadPropagatedFrom=php7.4-fpm.service
|
|
|
|
[Service]
|
|
Type=notify
|
|
PIDFile=/run/php/php7.4-fpm.pid
|
|
ExecStart=/usr/sbin/php-fpm7.4 --nodaemonize --fpm-config /etc/php/7.4/fpm/php-fpm.conf
|
|
ExecReload=/bin/kill -USR2 $MAINPID
|
|
LimitNOFILE=100000
|
|
TimeoutStartSec=300
|
|
ProtectSystem=strict
|
|
PrivateTmp=true
|
|
# sendmail requires it... enable once chrooted
|
|
#NoNewPrivileges=true
|
|
PrivateDevices=true
|
|
ProtectKernelTunables=true
|
|
ProtectKernelModules=true
|
|
ProtectControlGroups=true
|
|
LockPersonality=true
|
|
SystemCallArchitectures=native
|
|
ReadWritePaths=-/var/log/
|
|
ReadWritePaths=-/var/run/
|
|
ReadWritePaths=-/run/
|
|
ReadWritePaths=-/var/local/squirrelmail/
|
|
ReadWritePaths=-/var/www/
|
|
InaccessiblePaths=-/root/
|
|
CPUQuota=100%
|
|
MemoryHigh=25%
|
|
MemoryMax=35%
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|