Files
.github
etc
apt
bind
clamav
dovecot
logrotate.d
mysql
nginx
postfix
postfix-clearnet
security
ssh
sysctl.d
systemd
system
dovecot.service.d
mariadb.service.d
postfix.service.d
postfix@.service.d
tor@default.service.d
hosting-del.service
hosting-del.timer
hosting.service
hosting.timer
nginx.service
php8.0-fpm.service
php8.0-fpm@.service
php8.0-fpm@default.service
php8.1-fpm.service
php8.1-fpm@.service
php8.1-fpm@default.service
php8.2-fpm.service
php8.2-fpm@.service
php8.2-fpm@default.service
rspamd.service
journald.conf
timesyncd.conf
tor
login.defs
rc.local
resolv.conf
usr
var
COPYING
README.md
SECURITY.md
clean_nginx_sockets.sh
install_binaries.sh
hosting/etc/systemd/system/php8.0-fpm@.service
2020-10-13 10:25:04 +02:00

36 lines
853 B
Desktop File

[Unit]
Description=The PHP 8.0 FastCGI Process Manager (instance %i)
Documentation=man:php-fpm8.0(8)
After=network.target
PartOf=php8.0-fpm.service
ReloadPropagatedFrom=php8.0-fpm.service
[Service]
Type=notify
PIDFile=/run/php/php8.0-fpm-%i.pid
ExecStart=/usr/sbin/php-fpm8.0 --nodaemonize --fpm-config /etc/php/8.0/fpm/php-fpm-%i.conf
ExecReload=/bin/kill -USR2 $MAINPID
LimitNOFILE=100000
TimeoutStartSec=300
ProtectSystem=strict
PrivateTmp=true
NoNewPrivileges=true
PrivateDevices=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectControlGroups=true
LockPersonality=true
SystemCallArchitectures=native
ReadWritePaths=-/var/log/
ReadWritePaths=-/var/run/
ReadWritePaths=-/run/
InaccessiblePaths=-/root/
CPUQuota=100%
MemoryHigh=25%
MemoryMax=35%
RuntimeDirectory=php
RuntimeDirectoryPreserve=yes
[Install]
WantedBy=multi-user.target