summaryrefslogtreecommitdiff
path: root/testing/php/php-fpm.service
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-28 17:43:57 +0000
committerroot <root@rshg054.dnsready.net>2012-05-28 17:43:57 +0000
commit483f7de4ab6a706517279a24d2efc969f4a1996d (patch)
tree128a7513d3e42c4d8812b5fd11a4afb116399762 /testing/php/php-fpm.service
parent89dd7b5f30d48c708092a71b1c8285090fe91505 (diff)
Mon May 28 17:43:57 UTC 2012
Diffstat (limited to 'testing/php/php-fpm.service')
-rw-r--r--testing/php/php-fpm.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/php/php-fpm.service b/testing/php/php-fpm.service
new file mode 100644
index 000000000..2fd30113c
--- /dev/null
+++ b/testing/php/php-fpm.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=FastCGI Process Manager for PHP
+After=syslog.target network.target
+
+[Service]
+Type=forking
+PIDFile=/var/run/php-fpm/php-fpm.pid
+ExecStart=/usr/sbin/php-fpm
+ExecReload=/bin/kill -USR2 $MAINPID
+
+[Install]
+WantedBy=multi-user.target