diff options
Diffstat (limited to 'php-fpm.service')
-rw-r--r-- | php-fpm.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/php-fpm.service b/php-fpm.service new file mode 100644 index 0000000..df24fb7 --- /dev/null +++ b/php-fpm.service @@ -0,0 +1,14 @@ +[Unit] +Description=The PHP FastCGI Process Manager +After=syslog.target network.target + +[Service] +Type=forking +PIDFile=/var/run/php-fpm/php-fpm.pid +EnvironmentFile=/etc/sysconfig/php-fpm +ExecStart=/usr/sbin/php-fpm +ExecReload=/bin/kill -USR2 $MAINPID + +[Install] +WantedBy=multi-user.target + |