ansible/roles/php/files/php-fpm.service

12 lines
321 B
SYSTEMD
Raw Normal View History

2014-08-21 19:25:40 +00:00
[Unit]
Description=The PHP FastCGI Process Manager
After=syslog.target network.target
[Service]
2014-09-17 11:57:56 +00:00
Restart=on-failure
2014-08-21 19:25:40 +00:00
Type=notify
PIDFile=/run/php-fpm/php-fpm.pid
Environment="FPM_SOCKETS=/var/run/php-fpm.socket=3"
ExecStart=/usr/bin/php-fpm --nodaemonize --pid /run/php-fpm/php-fpm.pid
ExecReload=/bin/kill -USR2 $MAINPID