summaryrefslogtreecommitdiff
path: root/extra/php/php-fpm.service
diff options
context:
space:
mode:
Diffstat (limited to 'extra/php/php-fpm.service')
-rw-r--r--extra/php/php-fpm.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/php/php-fpm.service b/extra/php/php-fpm.service
new file mode 100644
index 000000000..e29f7c236
--- /dev/null
+++ b/extra/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