]> git.evergreen-ils.org Git - working/OpenSRF.git/commit
LP1204123 Improved per-service control (C/Perl)
authorBill Erickson <berick@esilibrary.com>
Wed, 31 Jul 2013 21:43:12 +0000 (17:43 -0400)
committerBill Erickson <berick@esilibrary.com>
Thu, 1 Aug 2013 14:08:35 +0000 (10:08 -0400)
commit1c600daaee0fc2724ee4536dfeb989ac6960647c
tree48d8405eb6a678bad6da4b5c4c3aaf401fa28b7a
parentd735eff9bc0d2a7f45b0c8f04b10110278be04ba
LP1204123 Improved per-service control (C/Perl)

C opensrf no longer mantains a single master process.  Instead, like
Perl, each Listener process writes its own PID file and can be managed
individually.  Related to this, much code was cleaned up in
osrf_system.c.

osrf_ctl.sh now has the ability to stop/start individual services for
Perl and C, using the new -s <service> option.  Examples:

osrf_ctl.sh -l -a restart_c -s opensrf.math
osrf_ctl.sh -l -a restart_perl -s opensrf.settings

Signed-off-by: Bill Erickson <berick@esilibrary.com>
bin/osrf_ctl.sh.in
include/opensrf/osrf_system.h
src/libopensrf/opensrf.c
src/libopensrf/osrf_prefork.c
src/libopensrf/osrf_system.c