]> git.koha-community.org Git - koha.git/commit
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)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 19 Nov 2013 17:46:10 +0000 (14:46 -0300)
commit111cd8faa2c0b006130a8c43a55b098e94e42fc9
tree23cd4d8e5a8cf08b6835ae444ee47e5c9083f99f
parentbe2dc42ffcf751bcb8e98359c08aa2f6ba7a7bb9
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>
(cherry picked from commit 45b5bef8931470badfacd33eeb31acd634cdeb9f)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
debian/koha-common.init