[Koha-bugs] [Bug 10624] koha-common.init should implement the 'status' option switch

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 30 18:25:42 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10624

--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 20746
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=20746&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+

Sponsored-by: Universidad Nacional de Cordoba

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list