[packages/php/PHP_5_5] fpm sucks by leaving some fds open, and rc-scripts fails to go further BUSY message
glen
glen at pld-linux.org
Thu Sep 12 15:36:37 CEST 2013
commit 0036b5e997814d6279af126e05b8b42dac3cb72a
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Sep 12 16:35:49 2013 +0300
fpm sucks by leaving some fds open, and rc-scripts fails to go further BUSY message
php-fpm.init | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/php-fpm.init b/php-fpm.init
index 020fc78..9d691ef 100644
--- a/php-fpm.init
+++ b/php-fpm.init
@@ -30,7 +30,7 @@ start() {
fi
msg_starting "PHP FastCGI Process Manager (@processname@)"
- daemon --pidfile $pidfile /usr/sbin/@processname@ --fpm-config $configfile
+ daemon --closefds --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/0036b5e997814d6279af126e05b8b42dac3cb72a
More information about the pld-cvs-commit
mailing list