summaryrefslogtreecommitdiffstats
path: root/php-fpm.service
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-11-30 09:37:33 +0100
committerRemi Collet <fedora@famillecollet.com>2012-11-30 09:37:33 +0100
commite9b87790af9adabe009022cfafebfeb736978056 (patch)
treeacafa3f574b8f5a5cb8e301d6b77ad5258234361 /php-fpm.service
PHP 5.5.0-dev (snapshot 201211300857)
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..d90ed8c
--- /dev/null
+++ b/php-fpm.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=The PHP FastCGI Process Manager
+After=syslog.target network.target
+
+[Service]
+PIDFile=/run/php-fpm/php-fpm.pid
+EnvironmentFile=/etc/sysconfig/php-fpm
+ExecStart=/usr/sbin/php-fpm --nodaemonize
+ExecReload=/bin/kill -USR2 $MAINPID
+PrivateTmp=true
+
+[Install]
+WantedBy=multi-user.target
+