From 7f2986bfba8e2e4cd5c1f5b17d558e048b7bf023 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 19 Sep 2012 17:28:44 +0200 Subject: add --daemonize / --nodaemonize options to php-fpm, upstream RFE: https://bugs.php.net/63085 --- php-fpm.service | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'php-fpm.service') 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] -- cgit