]> git.evergreen-ils.org Git - working/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)
committerBill Erickson <berick@esilibrary.com>
Wed, 31 Jul 2013 14:27:46 +0000 (10:27 -0400)
commitd735eff9bc0d2a7f45b0c8f04b10110278be04ba
tree3ea03a47550bbdfbffb82c913a52714a9801f708
parentf8b6d444fed7d62466473f69102bd569f54ff083
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>
bin/osrf_ctl.sh.in