[packages/php] 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:55 CEST 2013
commit 606be6670cbe7733166c8a1dfc436f296c69e767
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 125922b..fa1f3a7 100755
--- 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/606be6670cbe7733166c8a1dfc436f296c69e767
More information about the pld-cvs-commit
mailing list