summaryrefslogtreecommitdiff
path: root/php-fpm.init
diff options
context:
space:
mode:
authorElan Ruusamäe2013-09-13 08:16:01 (GMT)
committerElan Ruusamäe2013-09-13 08:16:56 (GMT)
commitba07e9b4e23923bbb66f1a15e3b8c2ce8cf1c33f (patch)
treee3232881903d9a2b40e9894d79d3b3ba88ac12eb /php-fpm.init
parent0036b5e997814d6279af126e05b8b42dac3cb72a (diff)
downloadphp-ba07e9b4e23923bbb66f1a15e3b8c2ce8cf1c33f.zip
php-ba07e9b4e23923bbb66f1a15e3b8c2ce8cf1c33f.tar.gz
fpm: use --redirfds, safer and works with RC_LOGGING on and off
Diffstat (limited to 'php-fpm.init')
-rw-r--r--php-fpm.init2
1 files changed, 1 insertions, 1 deletions
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
}