Bug 6929 - ensure that koha-stop-zebra will try to stop everything
authorRobin Sheat <robin@catalyst.net.nz>
Wed, 28 Sep 2011 06:09:01 +0000 (19:09 +1300)
committerChris Cormack <chrisc@catalyst.net.nz>
Wed, 19 Oct 2011 03:26:57 +0000 (16:26 +1300)
Currently, if it attempts to stop a zebra process that doesn't exist,
the script will abort, which leaves things running. This patch prevents
it from aborting.

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
debian/scripts/koha-stop-zebra

index 3ddd697..7f3efcc 100755 (executable)
@@ -33,5 +33,5 @@ do
         --stop \
         -- \
         zebrasrv \
-        -f "/etc/koha/sites/$name/koha-conf.xml"
+        -f "/etc/koha/sites/$name/koha-conf.xml" || true
 done