summarylogtreecommitdiffstats
path: root/php-fpm.service
diff options
context:
space:
mode:
Diffstat (limited to 'php-fpm.service')
-rw-r--r--php-fpm.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/php-fpm.service b/php-fpm.service
new file mode 100644
index 000000000000..2c31af90d9f3
--- /dev/null
+++ b/php-fpm.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=The PHP 5.3 FastCGI Process Manager
+After=syslog.target network.target
+
+[Service]
+Type=simple
+PIDFile=/run/php53-fpm/php-fpm.pid
+PrivateTmp=true
+ExecStart=/usr/bin/php53-fpm --nodaemonize --pid /run/php53-fpm/php-fpm.pid
+ExecReload=/bin/kill -USR2 $MAINPID
+
+[Install]
+WantedBy=multi-user.target