Bug 10624: add 'status' option switch for the packages init script
authorTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 30 Aug 2013 16:17:55 +0000 (13:17 -0300)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 9 Oct 2013 04:53:42 +0000 (04:53 +0000)
commit45b5bef8931470badfacd33eeb31acd634cdeb9f
tree51bb56471d26f9ad89604412ec16fb68e0f11af9
parentbdbe2545cdc111567f565374ae67e23ccac98838
Bug 10624: add 'status' option switch for the packages init script

This patch makes the init script return the status of the relevant
processes.

To test:
- Apply the patch, 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

Sponsored-by: Universidad Nacional de Cordoba
Signed-off-by: Robin Sheat <robin@catalyst.net.nz>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
debian/koha-common.init