summaryrefslogtreecommitdiff
path: root/testing/php/php-fpm.service
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-16 00:01:25 +0000
committerroot <root@rshg054.dnsready.net>2012-06-16 00:01:25 +0000
commit94fa10f3a918892a08707aa27eb32a83a4959879 (patch)
tree27111dcbae78f85f5016ac49dd08eff5f7e976c0 /testing/php/php-fpm.service
parent0f99ce5b4d8585285835a277dcbdaf1493d00635 (diff)
Sat Jun 16 00:01:25 UTC 2012
Diffstat (limited to 'testing/php/php-fpm.service')
-rw-r--r--testing/php/php-fpm.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/php/php-fpm.service b/testing/php/php-fpm.service
new file mode 100644
index 000000000..e29f7c236
--- /dev/null
+++ b/testing/php/php-fpm.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=FastCGI Process Manager for PHP
+After=syslog.target network.target
+
+[Service]
+Type=forking
+PIDFile=/run/php-fpm/php-fpm.pid
+PrivateTmp=true
+ExecStart=/usr/sbin/php-fpm
+ExecReload=/bin/kill -USR2 $MAINPID
+
+[Install]
+WantedBy=multi-user.target