summaryrefslogtreecommitdiffstats
path: root/php-fpm.service
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-09-19 17:28:44 +0200
committerRemi Collet <fedora@famillecollet.com>2012-09-19 17:28:44 +0200
commit7f2986bfba8e2e4cd5c1f5b17d558e048b7bf023 (patch)
tree195a4991ad04efb9cced1ad0295d95e6d81639d5 /php-fpm.service
parent6e0dd3dee5a7173aef26d9b3ba65931e561483a0 (diff)
add --daemonize / --nodaemonize options to php-fpm, upstream RFE: https://bugs.php.net/63085
Diffstat (limited to 'php-fpm.service')
-rw-r--r--php-fpm.service3
1 files changed, 1 insertions, 2 deletions
diff --git a/php-fpm.service b/php-fpm.service
index 5aaaf3f..194e330 100644
--- a/php-fpm.service
+++ b/php-fpm.service
@@ -3,10 +3,9 @@ Description=The PHP FastCGI Process Manager
After=syslog.target network.target
[Service]
-Type=forking
PIDFile=/run/php-fpm/php-fpm.pid
EnvironmentFile=/etc/sysconfig/php-fpm
-ExecStart=/usr/sbin/php-fpm
+ExecStart=/usr/sbin/php-fpm --nodaemonize
ExecReload=/bin/kill -USR2 $MAINPID
[Install]