Lines 81-90
eof
Link Here
|
81 |
if is_indexer_running $name; then |
81 |
if is_indexer_running $name; then |
82 |
koha-indexer --stop $name || /bin/true |
82 |
koha-indexer --stop $name || /bin/true |
83 |
fi |
83 |
fi |
84 |
# Stop the worker daemon if needed |
84 |
# Stop the worker daemons if needed |
85 |
if is_worker_running $name; then |
85 |
for queue in $(get_worker_queues); do |
86 |
koha-worker --stop $name || /bin/true |
86 |
if is_worker_running $name $queue; then |
87 |
fi |
87 |
koha-worker --queue $queue --stop $name|| /bin/true |
|
|
88 |
fi |
89 |
done |
88 |
# Stop the Plack server if needed |
90 |
# Stop the Plack server if needed |
89 |
if is_plack_running $name; then |
91 |
if is_plack_running $name; then |
90 |
koha-plack --stop $name || /bin/true |
92 |
koha-plack --stop $name || /bin/true |
91 |
- |
|
|