Comment 4 for bug 1204123

Revision history for this message
Bill Erickson (berick) wrote :

While researching C HUP control, I realized that things would be easier of C behaved more like Perl in regard to listener process management. To that end, I've pushed a commit the working branch to support per-service control for OpenSRF C. From the commit:

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