php-fpm shows as crashed
For some reason, php-fpm-5.5.9-r0 always shows as crashed in rc-status even if it’s working properly.
(from redmine: issue id 2685, created on 2014-02-13, closed on 2014-06-25)
- Changesets:
- Revision 0449861a by Natanael Copa on 2014-06-19T09:16:29Z:
main/php: fix php-fpm script
ref #2685
The problem was that it usesd start-stop-daemon --exec but the argv[0]
name didnt correpond so start-stop-daemon could not know that it was up
and running.
The fix is to use pidfile.
Script is based on update from gentoo.
- Revision 903608c3 by Natanael Copa on 2014-06-19T09:24:02Z:
main/php: fix php-fpm script
fixes #2685
The problem was that it usesd start-stop-daemon --exec but the argv[0]
name didnt correpond so start-stop-daemon could not know that it was up
and running.
The fix is to use pidfile.
Script is based on update from gentoo.
(cherry picked from commit 0449861a8f541e2091c0e4b049682f8deee67333)
- Revision 0b27b4f5 by Natanael Copa on 2014-06-19T09:27:46Z:
main/php: fix php-fpm script
ref #2685
The problem was that it usesd start-stop-daemon --exec but the argv[0]
name didnt correpond so start-stop-daemon could not know that it was up
and running.
The fix is to use pidfile.
Script is based on update from gentoo.
(cherry picked from commit 0449861a8f541e2091c0e4b049682f8deee67333)