]> git.evergreen-ils.org Git - OpenSRF.git/commit
LP1204123 SIGTERM graceful shutdown (C)
authorBill Erickson <berick@esilibrary.com>
Mon, 22 Jul 2013 20:44:26 +0000 (16:44 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Wed, 4 Sep 2013 15:07:58 +0000 (11:07 -0400)
commit0e535cb775b78699f7ff15d9b73479f0aeaa4246
tree63ccf9c64752d1d9a81fbf7d3c84458f9ed975b4
parentfc2dc403640ed245ff2ba8c3f44beea727d0e7cc
LP1204123 SIGTERM graceful shutdown (C)

When a TERM signal is received, the listener parent process will wait
for all child processes to complete any active tasks before killing the
child processes and shutting down.

Receiving a SIGINT or SIGQUIT results in a non-graceful shutdown.

In all cases, the system first un-registers with all routers.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
src/libopensrf/osrf_prefork.c