summaryrefslogtreecommitdiffstats
path: root/php-fpm.service
diff options
context:
space:
mode:
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
+