LP1204123 SIGTERM causes graceful shutdown (Perl)
authorBill Erickson <berick@esilibrary.com>
Fri, 21 Jun 2013 20:43:01 +0000 (16:43 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Wed, 4 Sep 2013 15:07:58 +0000 (11:07 -0400)
commit8cc60399d97466c43a87df7e48e80dbc3b88c2d6
treef15a24a96dd0c37374b9ff3d9e7b4a39db12521e
parentc69aced833683b5256554330aa652f3dd7556d10
LP1204123 SIGTERM causes graceful shutdown (Perl)

When sent the SIGTERM signal, listener processes will wait for all child
processes to complete their currently running tasks before killing all
child processes and exiting.

SIGQUIT and SIGINT can still be used for semi-graceful shutdowns, where
the listener de-registers and cleans up child processes, but does not
wait for child processes to finish their tasks.

To kill with fire, SIGKILL is still your friend.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
src/perl/lib/OpenSRF/Server.pm