From: ondrej
Operating system: Linux
PHP version: 5.4.30
Package: FPM related
Bug Type: Feature/Change Request
Bug description:Add SIGHUP as a reload signal
Description:
------------
Both upstart and systemd are using SIGHUP as a default signal for reload
action and the init scripts needs special configuration because FPM uses
SIGUSR2 for reload.
Since SIGHUP is unused in FPM there's no harm in adding it as another
reload signal.
Patch attached.
Applies to all supported versions of PHP.
Test script:
---------------
service php5-fpm reload
Expected result:
----------------
PHP FPM reloaded
Actual result:
--------------
PHP FPM in invalid state - main process crashed without killing children
processes.
--
Edit bug report at https://bugs.php.net/bug.php?id=67553&edit=1
--