View | Details | Raw Unified | Return to bug 8773
Collapse All | Expand All

(-)a/debian/koha-common.cron.d (-1 / +2 lines)
Lines 6-10 Link Here
6
SHELL=/bin/sh
6
SHELL=/bin/sh
7
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
7
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
8
8
9
# */5 * * * * root test -x /usr/sbin/koha-rebuild-zebra && koha-rebuild-zebra $(koha-list --enabled)
9
# Comment if you want to use the experimental koha-index-daemon integration
10
*/5 * * * * root test -x /usr/sbin/koha-rebuild-zebra && koha-rebuild-zebra $(koha-list --enabled)
10
*/15 * * * * root koha-foreach --enabled --email /usr/share/koha/bin/cronjobs/process_message_queue.pl
11
*/15 * * * * root koha-foreach --enabled --email /usr/share/koha/bin/cronjobs/process_message_queue.pl
(-)a/debian/koha-common.init (-3 / +9 lines)
Lines 45-51 do_start() Link Here
45
    # We insure all required directories exist, including disabled ones.
45
    # We insure all required directories exist, including disabled ones.
46
    koha-create-dirs $(koha-list)
46
    koha-create-dirs $(koha-list)
47
    koha-start-zebra $(koha-list --enabled)
47
    koha-start-zebra $(koha-list --enabled)
48
    koha-start-indexer $(koha-list --enabled)
48
    # Uncomment if you want to use the experimental koha-index-daemon integration
49
    # (make sure you disabled the indexing cronjob on /etc/cron.d/koha-common)
50
    # koha-start-indexer $(koha-list --enabled)
49
}
51
}
50
52
51
#
53
#
Lines 55-61 do_stop() Link Here
55
{
57
{
56
    # We stop everything, including disabled ones.
58
    # We stop everything, including disabled ones.
57
    koha-stop-zebra $(koha-list) || true
59
    koha-stop-zebra $(koha-list) || true
58
    koha-stop-indexer $(koha-list --enabled)
60
    # Uncomment if you want to use the experimental koha-index-daemon integration
61
    # (make sure you disabled the indexing cronjob on /etc/cron.d/koha-common)
62
    # koha-stop-indexer $(koha-list --enabled)
59
}
63
}
60
64
61
#
65
#
Lines 63-69 do_stop() Link Here
63
#
67
#
64
do_reload() {
68
do_reload() {
65
    koha-restart-zebra $(koha-list --enabled)
69
    koha-restart-zebra $(koha-list --enabled)
66
    koha-restart-indexer $(koha-list --enabled)
70
    # Uncomment if you want to use the experimental koha-index-daemon integration
71
    # (make sure you disabled the indexing cronjob on /etc/cron.d/koha-common)
72
    # koha-restart-indexer $(koha-list --enabled)
67
}
73
}
68
74
69
case "$1" in
75
case "$1" in
(-)a/debian/scripts/koha-create (-2 / +3 lines)
Lines 342-348 then Link Here
342
    koha-start-zebra "$name"
342
    koha-start-zebra "$name"
343
343
344
    # Start Indexer daemon
344
    # Start Indexer daemon
345
    koha-start-indexer "$name"
345
    # Uncomment if you want to use the experimental koha-index-daemon integration
346
    # (make sure you disabled the indexing cronjob on /etc/cron.d/koha-common)
347
    # koha-start-indexer "$name"
346
fi
348
fi
347
349
348
350
349
- 

Return to bug 8773