]> git.evergreen-ils.org Git - OpenSRF.git/commit
LP1204123 osrf_ctl.sh supports sending signals
authorBill Erickson <berick@esilibrary.com>
Wed, 31 Jul 2013 13:34:19 +0000 (09:34 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Wed, 4 Sep 2013 15:07:59 +0000 (11:07 -0400)
commitab83a04551cd333870d0ee6679e5aa6f4342cfb3
treeb35a037e95b432819c68faaa6e489b070e76fee3
parentcb6bdf156a69a60fa0a55006b6f638853da3b9f0
LP1204123 osrf_ctl.sh supports sending signals

Using the following new options to osrf_ctl.sh, the script can now send
signals to any/all OpenSRF Listener processes:

-a signal / signal_all
-k <signal> [value passed to 'kill -s']
-s <service>

With an action of 'signal' and service provided by -s, the specified
signal is sent only to the listener process of the service.

With an action of 'signal_all', the specified signal is sent to all
listener prcesses.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
bin/osrf_ctl.sh.in