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