http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10624
Robin Sheat <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #21513|0 |1 is obsolete| | --- Comment #8 from Robin Sheat <[email protected]> --- Created attachment 21706 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=21706&action=edit Bug 10624: 'status' option switch for the packages init script This patch makes the init script return the status of the relevant processes. It relies on the koha-list switches added by 10622, and is written on top of the patch from 10617 that cleaned the init script. To test: - Apply the patch (+ 10622 so the SIP part works), build package and install - Run $ service koha-common status Note: it can be tested just copying the debian/koha-common.init script to a server running koha-common instances and calling it $ ./koha-common.init status If you don't have a patched koha-list command it will fail to report SIP servers status. Regards To+ Edit: added the PID parameter to daemon as it failed to check SIP servers were running otherwise. Sponsored-by: Universidad Nacional de Cordoba Signed-off-by: Robin Sheat <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
