[packages/php/PHP_5_5] fpm: use --redirfds, safer and works with RC_LOGGING on and off
glen
glen at pld-linux.org
Fri Sep 13 10:16:59 CEST 2013
commit ba07e9b4e23923bbb66f1a15e3b8c2ce8cf1c33f
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/ba07e9b4e23923bbb66f1a15e3b8c2ce8cf1c33f
More information about the pld-cvs-commit
mailing list