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