1 2 3 4 5 6 7 8 9 10 11 12 13
[Unit] Description=The PHP FastCGI Process Manager After=syslog.target network.target [Service] Type=forking PIDFile=/run/php-fpm/php-fpm.pid PrivateTmp=true ExecStart=/usr/bin/php-fpm --daemonize --pid /run/php-fpm/php-fpm.pid ExecReload=/bin/kill -USR2 $MAINPID [Install] WantedBy=multi-user.target