Lines 10-16
Link Here
|
10 |
# if enabled, start: |
10 |
# if enabled, start: |
11 |
# - a Zebra server (using koha-zebra) |
11 |
# - a Zebra server (using koha-zebra) |
12 |
# - a Plack server (using koha-plack) |
12 |
# - a Plack server (using koha-plack) |
13 |
# - a SIP server (using koha-start-sip) |
13 |
# - a SIP server (using koha-sip) |
14 |
### END INIT INFO |
14 |
### END INIT INFO |
15 |
|
15 |
|
16 |
# Author: Lars Wirzenius <lars@catalyst.net.nz> |
16 |
# Author: Lars Wirzenius <lars@catalyst.net.nz> |
Lines 58-64
do_start()
Link Here
|
58 |
# We insure all required directories exist, including disabled ones. |
58 |
# We insure all required directories exist, including disabled ones. |
59 |
koha-create-dirs $(koha-list) |
59 |
koha-create-dirs $(koha-list) |
60 |
koha-zebra --start $(koha-list --enabled) |
60 |
koha-zebra --start $(koha-list --enabled) |
61 |
koha-start-sip $(koha-list --enabled) |
61 |
koha-sip --start $(koha-list --enabled --sip) |
62 |
koha-plack --start $(koha-list --enabled --plack) |
62 |
koha-plack --start $(koha-list --enabled --plack) |
63 |
|
63 |
|
64 |
if [ "$USE_INDEXER_DAEMON" = "yes" ]; then |
64 |
if [ "$USE_INDEXER_DAEMON" = "yes" ]; then |
Lines 73-79
do_stop()
Link Here
|
73 |
{ |
73 |
{ |
74 |
# We stop everything, including disabled ones. |
74 |
# We stop everything, including disabled ones. |
75 |
koha-zebra --stop $(koha-list) || true |
75 |
koha-zebra --stop $(koha-list) || true |
76 |
koha-stop-sip $(koha-list) || true |
76 |
koha-sip --stop $(koha-list --sip) |
77 |
koha-plack --stop --quiet $(koha-list --enabled --plack) |
77 |
koha-plack --stop --quiet $(koha-list --enabled --plack) |
78 |
|
78 |
|
79 |
if [ "$USE_INDEXER_DAEMON" = "yes" ]; then |
79 |
if [ "$USE_INDEXER_DAEMON" = "yes" ]; then |
Lines 86-93
do_stop()
Link Here
|
86 |
# |
86 |
# |
87 |
do_reload() { |
87 |
do_reload() { |
88 |
koha-zebra --restart $(koha-list --enabled) |
88 |
koha-zebra --restart $(koha-list --enabled) |
89 |
koha-stop-sip $(koha-list) || true |
89 |
koha-sip --restart $(koha-list --enabled --sip) |
90 |
koha-start-sip $(koha-list --enabled) |
|
|
91 |
koha-plack --restart --quiet $(koha-list --enabled --plack) |
90 |
koha-plack --restart --quiet $(koha-list --enabled --plack) |
92 |
|
91 |
|
93 |
if [ "$USE_INDEXER_DAEMON" = "yes" ]; then |
92 |
if [ "$USE_INDEXER_DAEMON" = "yes" ]; then |