[php-maint] Bug#645934: Wrong signals in php5-fpm init script
Natrio
Natrio at list.ru
Wed Oct 19 19:46:03 UTC 2011
Package: php5-fpm
Version: 5.3.8-2
An attempt to "reload" php-fpm causes master process killing.
Documentation of php-fpm says:
http://php-fpm.org/wiki/Documentation#Master_process_understands_signals
> php-fpm understands the signals:
> SIGQUIT – graceful stop
> SIGINT, SIGTERM – immediate termination
> SIGUSR2 – graceful reload of all workers + reload of fpm
conf/binary
But script sends SIGHUP on "reload" (it kills master process
instead!)
http://anonscm.debian.org/gitweb/?p=pkg-php/php.git;a=blob;f=debian/php5-fpm.init;h=4facc3d816a5c984a35b099c6bf04c025ad40161;hb=HEAD#l98
and SIGTERM on stop (immediately, not graceful):
http://anonscm.debian.org/gitweb/?p=pkg-php/php.git;a=blob;f=debian/php5-fpm.init;h=4facc3d816a5c984a35b099c6bf04c025ad40161;hb=HEAD#l81
# /etc/init.d/php5-fpm reload
... and master process killed!
More information about the pkg-php-maint
mailing list