Bug 13785: (QA followup) koha-disable should stop the indexer daemon
authorTomas Cohen Arazi <tomascohen@gmail.com>
Sat, 7 Mar 2015 21:22:53 +0000 (22:22 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 11 Mar 2015 17:43:32 +0000 (14:43 -0300)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>

debian/scripts/koha-disable

index cef45d8..2e2e67a 100755 (executable)
@@ -69,6 +69,9 @@ do
             if is_zebra_running $name; then
                 koha-stop-zebra $name
             fi
+            if is_indexer_running $name; then
+                koha-indexer --stop $name
+            fi
         elif [ "$RET" = 2 ]; then
             warn "Error: Apache configuration file not present for instance $name."
         else