]> git.koha-community.org Git - koha.git/commit
Bug 13785: koha-disable should also stop SIP and zebra for instance
authorLarry Baerveldt <larry@bywatersolutions.com>
Tue, 3 Mar 2015 15:33:21 +0000 (07:33 -0800)
committerMason James <mtj@kohaaloha.com>
Fri, 27 Mar 2015 02:16:37 +0000 (15:16 +1300)
commit3e5ce93c61e7c4243145b023f9b27c7c0ac21e2d
treec8e786b4fa4a08d24b2da372333aee84052aad23
parentfd9c42f16f6754efe1d05ea641edb8acb99b3598
Bug 13785: koha-disable should also stop SIP and zebra for instance

Currently koha-disable ONLY disables the instance in the apache conf
file. Presumably if you want to disable the instance, you also want
its processes to stop, so this patch will stop zebra, if running,
and SIP, if enabled.

Depends on Bug 13784.

To Test:
1) Have an enabled instance, with zebra and SIP running.
2) Run koha-disable INST. Note that after, both zebra and SIP
   will still be running.
3) Re-enable INST.
4) Apply patch, and then copy debian/scripts/koha-disable to
   package site, over /usr/sbin/koha-disable.
5) Run koha-disable INST. You should now see that both zebra
   and SIP have been stopped.

Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net>
Signed-off-by: Robin Sheat <robin@catalyst.net.nz>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Signed-off-by: Mason James <mtj@kohaaloha.com>
debian/scripts/koha-disable