[packages/php/PHP_5_4] fpm: use --redirfds, safer and works with RC_LOGGING on and off
glen
glen at pld-linux.org
Fri Sep 13 10:16:48 CEST 2013
commit b3839a9b4700af3e47864beb6523cc02bf6a9c5a
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri Sep 13 11:16:01 2013 +0300
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
}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/b3839a9b4700af3e47864beb6523cc02bf6a9c5a
More information about the pld-cvs-commit
mailing list