]> 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)
committerChris Cormack <chris@bigballofwax.co.nz>
Fri, 13 Mar 2015 22:41:20 +0000 (11:41 +1300)
commita46c2d21166865079f7f054fae296044bbdc1e31
tree8e67648367dc8d6d7ec1291d8039ad3707bf335d
parent778ae6a30d565fe8da1b71a4410d21dad2a55637
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>
(cherry picked from commit 1fd9cdcdb03ae77d47a8a19fc92413ef6ba2c999)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
debian/scripts/koha-disable