Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Bug 33108: (follow-up) Fix typo
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
if [ "$USE_INDEXER_DAEMON" = "yes" ]; then
koha-indexer --start --quiet $(koha-list --enabled)
fi
+
+ koha-es-indexer --start --quiet $(koha-list --enabled --elasticsearch)
}
#
if [ "$USE_INDEXER_DAEMON" = "yes" ]; then
koha-indexer --stop --quiet $(koha-list --enabled)
fi
+
+ koha-es-indexer --stop --quiet $(koha-list --enabled --elasticsearch)
}
#
if [ "$USE_INDEXER_DAEMON" = "yes" ]; then
koha-indexer --restart --quiet $(koha-list --enabled)
fi
+
+ koha-es-indexer --restart --quiet $(koha-list --enabled --elasticsearch)
}
#
if is_sip_running $name; then
koha-sip --stop $name || /bin/true
fi
+ # Stop the ES indexing daemon if needed
+ if is_es_indexer_running $name; then
+ koha-es-indexer --stop $name || /bin/true
+ fi
instancefile=$(get_apache_config_for $name)
le_opacdomain=$(letsencrypt_get_opacdomain_for $name)