]> git.koha-community.org Git - koha.git/commit
Bug 13784: koha-stop-zebra should also work for disabled instances
authorLarry Baerveldt <larry@bywatersolutions.com>
Tue, 3 Mar 2015 13:49:57 +0000 (05:49 -0800)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Sat, 7 Mar 2015 20:36:22 +0000 (21:36 +0100)
commit77809ccd32de48c0946b1451392021d9a67180e6
treeada820f8167185b1e208be4ac309acb062f2a485
parentf71f1ba6e23b7b3777ba2ea5d531bc2cf25da140
Bug 13784: koha-stop-zebra should also work for disabled instances

Currently koha-stop-zebra will not stop zebra for disabled instances. It should
work more like koha-stop-sip, which does work for disabled instances. Also,
koha-stop-zebra is called by '/etc/init.d/koha-common stop' which clearly
should also apply to disabled instances.

To Test:
1) Disable a koha instance.
2) Run koha-stop-zebra INSTANCE. You should get message
   "Instance INSTANCE disabled. No action taken."
3) Apply patch, and copy patched file debian/scripts/koha-stop-zebra
   to package site over /usr/sbin/koha-stop-zebra.
4) Disable koha instance.
5) Run koha-stop-zebra INSTANCE. It should now stop zebra.

http://bugs.koha-community.org/show_bug.cgi?id=13784
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>
debian/scripts/koha-stop-zebra