]> git.evergreen-ils.org Git - working/OpenSRF.git/commit
LP1204123 SIGTERM graceful shutdown (C)
authorBill Erickson <berick@esilibrary.com>
Mon, 22 Jul 2013 20:44:26 +0000 (16:44 -0400)
committerBill Erickson <berick@esilibrary.com>
Tue, 23 Jul 2013 14:42:33 +0000 (10:42 -0400)
commit79783023e3f5973bcedf2c903ca1904105cb02dd
tree018ced36eb8d118e29b94f9b7fc2d309309997cc
parent6e1936382a95903cb294690f714148ef40a328b0
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>
src/libopensrf/osrf_prefork.c