summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerome Loyet <fat@php.net>2012-09-28 00:47:56 +0200
committerJerome Loyet <fat@php.net>2012-09-28 00:47:56 +0200
commit2259a8f18b1f25c175c486f54849fcd9e61ecde1 (patch)
treef3e562508945bf8aa983d29702a2f75f35bd4faa
parent851a04bb7b680954249e825ea3fef420f7d66bb7 (diff)
downloadphp-git-2259a8f18b1f25c175c486f54849fcd9e61ecde1.tar.gz
- add missing php-fpm.service.in
-rw-r--r--sapi/fpm/php-fpm.service.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/sapi/fpm/php-fpm.service.in b/sapi/fpm/php-fpm.service.in
new file mode 100644
index 0000000000..396a88d66f
--- /dev/null
+++ b/sapi/fpm/php-fpm.service.in
@@ -0,0 +1,12 @@
+[Unit]
+Description=The PHP FastCGI Process Manager
+After=syslog.target network.target
+
+[Service]
+PIDFile=@localstatedir@/run/php-fpm.pid
+ExecStart=@sbindir@/php-fpm --nodaemonize --fpm-config @sysconfdir@/php-fpm.conf
+ExecReload=/bin/kill -USR2 $MAINPID
+
+[Install]
+WantedBy=multi-user.target
+