summaryrefslogtreecommitdiffstats
path: root/php-fpm.service
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-06-10 07:12:19 +0200
committerRemi Collet <fedora@famillecollet.com>2012-06-10 07:12:19 +0200
commit7f31c8be6abd4c5ddb0228e54555d92351ae600d (patch)
tree3e8ccbc59f0c04243aa06fb7c046c4305a27c271 /php-fpm.service
repo reorg
Diffstat (limited to 'php-fpm.service')
-rw-r--r--php-fpm.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/php-fpm.service b/php-fpm.service
new file mode 100644
index 0000000..df24fb7
--- /dev/null
+++ b/php-fpm.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=The PHP FastCGI Process Manager
+After=syslog.target network.target
+
+[Service]
+Type=forking
+PIDFile=/var/run/php-fpm/php-fpm.pid
+EnvironmentFile=/etc/sysconfig/php-fpm
+ExecStart=/usr/sbin/php-fpm
+ExecReload=/bin/kill -USR2 $MAINPID
+
+[Install]
+WantedBy=multi-user.target
+