]> git.evergreen-ils.org Git - 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)
committerJason Stephenson <jstephenson@mvlc.org>
Wed, 4 Sep 2013 15:07:59 +0000 (11:07 -0400)
commit06368dfa151f04c6cbb0b843b7e9dc795a8193c5
treecd970891d7527e231181539f712f649d0a55cdd1
parentab83a04551cd333870d0ee6679e5aa6f4342cfb3
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>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
bin/osrf_ctl.sh.in
include/opensrf/osrf_system.h
src/libopensrf/opensrf.c
src/libopensrf/osrf_prefork.c
src/libopensrf/osrf_system.c