From b3839a9b4700af3e47864beb6523cc02bf6a9c5a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Fri, 13 Sep 2013 11:16:01 +0300 Subject: [PATCH] fpm: use --redirfds, safer and works with RC_LOGGING on and off --- php-fpm.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php-fpm.init b/php-fpm.init index 9d691ef..d75da1c 100644 --- a/php-fpm.init +++ b/php-fpm.init @@ -30,7 +30,7 @@ start() { fi msg_starting "PHP FastCGI Process Manager (@processname@)" - daemon --closefds --pidfile $pidfile /usr/sbin/@processname@ --fpm-config $configfile + daemon --redirfds --pidfile $pidfile /usr/sbin/@processname@ --fpm-config $configfile RETVAL=$? [ $RETVAL -eq 0 ] && touch $lockfile } -- 2.44.0