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.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/php/php-fpm.service b/extra/php/php-fpm.service
index 1ae62051f..6e2faafd8 100644
--- a/extra/php/php-fpm.service
+++ b/extra/php/php-fpm.service
@@ -3,10 +3,10 @@ Description=The PHP FastCGI Process Manager
After=syslog.target network.target
[Service]
-Type=forking
+Type=notify
PIDFile=/run/php-fpm/php-fpm.pid
PrivateTmp=true
-ExecStart=/usr/bin/php-fpm --daemonize --pid /run/php-fpm/php-fpm.pid
+ExecStart=/usr/bin/php-fpm --nodaemonize --pid /run/php-fpm/php-fpm.pid
ExecReload=/bin/kill -USR2 $MAINPID
[Install]