Subject: | [PATCH] translate optional list of signals to children |
Looks like there is no ability to send signal to main process and have
it retranslated to all children. So, for example, if you need to rotate
logs - either you have to send signals to all processes, either your
logs will not be properly rotated and/or recreated.
This patch introduces new configuration option - 'sig_passthrough',
which is either a scalar, either an arrayref, filled with signal names.
Signals listed in sig_passthrough will be retranslated to all children
once received in parent process, and if there was a sig handler in
parent - it will be executed also.
Signals 'PIPE', 'INT', 'TERM', 'QUIT', 'HUP', 'CHLD' will keep their
original behavior.
Patch was tested in real environment, but only on one installation, so
everything is possible.
Subject: | patch-Net-Server-PreFork |
Message body not shown because it is not plain text.