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