com php-src: Add missed file: sapi/fpm/php-fpm.service.in
| From: | Xinchen Hui | Date: | Wed, 24 Oct 2012 02:34:44 +0000 |
| Subject: | com php-src: Add missed file: sapi/fpm/php-fpm.service.in | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-70453@lists.php.net to get a copy of this message | ||
Commit: 7e2c87bf2b0ebade118a503f23fcb00d2b9a14ca
Author: Xinchen Hui <laruence@php.net> Wed, 24 Oct 2012 10:34:44 +0800
Parents: e7e57aea0a2b3d5bb0ca518c98231951980654d6
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7e2c87bf2b0ebade118a503f23fcb00d2b9a14ca
Log:
Add missed file
Changed paths:
A sapi/fpm/php-fpm.service.in
Diff:
diff --git a/sapi/fpm/php-fpm.service.in b/sapi/fpm/php-fpm.service.in
new file mode 100644
index 0000000..396a88d
--- /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
+