]> git.evergreen-ils.org Git - OpenSRF.git/commit
osrf_control router-de/re-register and reload commands
authorBill Erickson <berick@esilibrary.com>
Tue, 7 Jan 2014 19:06:06 +0000 (14:06 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 31 Jan 2014 21:39:08 +0000 (16:39 -0500)
commita98d4b5195a0f5e77d14d4d247dde47f71b573c2
tree092e1ee171efd570ad10a8f1f0279c52122696ca
parent14287dc536142b14bc67806b1417b9a4850fa8cc
osrf_control router-de/re-register and reload commands

Added support for the following new command line options:

--router-de-register
--router-de-register-all
    Sends a SIGUSR1 signal to the selected service(s), which causes each
    service's listener process to send an "unregister" command to all
    registered routers.  The --all variant sends the signal to all
    running listeners.  The non-(--all) variant requires a --service.

--router-re-register
--router-re-register-all
    Sends a SIGUSR2 signal to the selected service(s), which causes each
    service's listener process to send a "register" command to all
    configured routers routers.  The --all variant sends the signal to
    all running listeners.  The non-(--all) variant requires a --service.

--reload
--reload-all
    Sends a SIGHUP signal to the selected service(s).  SIGHUP causes
    each Listener process to reload its opensrf_core.xml config file
    and gracefully re-launch drone processes.  The -all variant sends
    the signal to all services.  The non-(-all) variant requires a
    --service.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
bin/opensrf-perl.pl.in