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 |