Bug 28364: Make log4perl.conf belong to the instance user
[koha-ffzg.git] / debian / scripts / koha-disable
index b03ed80..c8d6994 100755 (executable)
@@ -63,6 +63,18 @@ do
         RET=$(disable_instance $name)
         if [ "$RET" = 0 ]; then
             restart_apache="yes"
+            if is_sip_enabled $name; then
+                koha-sip --stop $name
+            fi
+            if is_zebra_running $name; then
+                koha-zebra --stop $name
+            fi
+            if is_indexer_running $name; then
+                koha-indexer --stop $name
+            fi
+            if is_worker_running $name; then
+                koha-worker --stop $name
+            fi
         elif [ "$RET" = 2 ]; then
             warn "Error: Apache configuration file not present for instance $name."
         else