com php-src: - add missing php-fpm.service.in: sapi/fpm/php-fpm.service.in
| From: | Jérôme Loyet | Date: | Thu, 27 Sep 2012 22:47:56 +0000 |
| Subject: | com php-src: - add missing php-fpm.service.in: sapi/fpm/php-fpm.service.in | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-70250@lists.php.net to get a copy of this message | ||
Commit: 2259a8f18b1f25c175c486f54849fcd9e61ecde1
Author: Jerome Loyet <fat@php.net> Fri, 28 Sep 2012 00:47:56 +0200
Parents: 851a04bb7b680954249e825ea3fef420f7d66bb7
Branches: PHP-5.3
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2259a8f18b1f25c175c486f54849fcd9e61ecde1
Log:
- add missing php-fpm.service.in
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
+