@@ -, +, @@ --- debian/koha-common.cron.d | 3 ++- debian/koha-common.init | 12 +++++++++--- debian/scripts/koha-create | 4 +++- 3 files changed, 14 insertions(+), 5 deletions(-) --- a/debian/koha-common.cron.d +++ a/debian/koha-common.cron.d @@ -6,5 +6,6 @@ SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin -# */5 * * * * root test -x /usr/sbin/koha-rebuild-zebra && koha-rebuild-zebra $(koha-list --enabled) +# Comment if you want to use the experimental koha-index-daemon integration +*/5 * * * * root test -x /usr/sbin/koha-rebuild-zebra && koha-rebuild-zebra $(koha-list --enabled) */15 * * * * root koha-foreach --enabled --email /usr/share/koha/bin/cronjobs/process_message_queue.pl --- a/debian/koha-common.init +++ a/debian/koha-common.init @@ -45,7 +45,9 @@ do_start() # We insure all required directories exist, including disabled ones. koha-create-dirs $(koha-list) koha-start-zebra $(koha-list --enabled) - koha-start-indexer $(koha-list --enabled) + # Uncomment if you want to use the experimental koha-index-daemon integration + # (make sure you disabled the indexing cronjob on /etc/cron.d/koha-common) + # koha-start-indexer $(koha-list --enabled) } # @@ -55,7 +57,9 @@ do_stop() { # We stop everything, including disabled ones. koha-stop-zebra $(koha-list) || true - koha-stop-indexer $(koha-list --enabled) + # Uncomment if you want to use the experimental koha-index-daemon integration + # (make sure you disabled the indexing cronjob on /etc/cron.d/koha-common) + # koha-stop-indexer $(koha-list --enabled) } # @@ -63,7 +67,9 @@ do_stop() # do_reload() { koha-restart-zebra $(koha-list --enabled) - koha-restart-indexer $(koha-list --enabled) + # Uncomment if you want to use the experimental koha-index-daemon integration + # (make sure you disabled the indexing cronjob on /etc/cron.d/koha-common) + # koha-restart-indexer $(koha-list --enabled) } case "$1" in --- a/debian/scripts/koha-create +++ a/debian/scripts/koha-create @@ -342,7 +342,9 @@ then koha-start-zebra "$name" # Start Indexer daemon - koha-start-indexer "$name" + # Uncomment if you want to use the experimental koha-index-daemon integration + # (make sure you disabled the indexing cronjob on /etc/cron.d/koha-common) + # koha-start-indexer "$name" fi --