Bugzilla – Attachment 182710 Details for
Bug 32736
koha-worker should be able to restart all queues with a single call
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32736: (follow-up) Make scripts using koha-worker use --all-queues
Bug-32736-follow-up-Make-scripts-using-koha-worker.patch (text/plain), 2.22 KB, created by
Tomás Cohen Arazi (tcohen)
on 2025-05-21 21:11:40 UTC
(
hide
)
Description:
Bug 32736: (follow-up) Make scripts using koha-worker use --all-queues
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2025-05-21 21:11:40 UTC
Size:
2.22 KB
patch
obsolete
>From a972eaa81a2794cd3f7f30215f3475da92e72821 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Wed, 21 May 2025 18:11:20 -0300 >Subject: [PATCH] Bug 32736: (follow-up) Make scripts using koha-worker use > --all-queues > >--- > debian/scripts/koha-create | 4 +--- > debian/scripts/koha-disable | 6 +----- > debian/scripts/koha-remove | 6 +----- > 3 files changed, 3 insertions(+), 13 deletions(-) > >diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create >index 1f32d5eee84..9d1895469d4 100755 >--- a/debian/scripts/koha-create >+++ b/debian/scripts/koha-create >@@ -909,9 +909,7 @@ then > koha-zebra --start "$name" > > # Start workers >- for queue in $(get_worker_queues); do >- koha-worker --queue $queue --start "$name" >- done >+ koha-worker --all-queues --start "$name" > > if [ "$USE_INDEXER_DAEMON" = "yes" ]; then > # Start Indexer daemon >diff --git a/debian/scripts/koha-disable b/debian/scripts/koha-disable >index fffb119a076..fa879163250 100755 >--- a/debian/scripts/koha-disable >+++ b/debian/scripts/koha-disable >@@ -72,11 +72,7 @@ do > if is_indexer_running $name; then > koha-indexer --stop $name > fi >- for queue in $(get_worker_queues); do >- if is_worker_running $name $queue; then >- koha-worker --queue $queue --stop $name >- fi >- done >+ koha-worker --all-queues --stop $name || /bin/true > elif [ "$RET" = 2 ]; then > warn "Error: Apache configuration file not present for instance $name." > else >diff --git a/debian/scripts/koha-remove b/debian/scripts/koha-remove >index 96eff08d4c6..f04dbb172c5 100755 >--- a/debian/scripts/koha-remove >+++ b/debian/scripts/koha-remove >@@ -82,11 +82,7 @@ eof > koha-indexer --stop $name || /bin/true > fi > # Stop the worker daemons if needed >- for queue in $(get_worker_queues); do >- if is_worker_running $name $queue; then >- koha-worker --queue $queue --stop $name|| /bin/true >- fi >- done >+ koha-worker --all-queues --stop $name || /bin/true > # Stop the Plack server if needed > if is_plack_running $name; then > koha-plack --stop $name || /bin/true >-- >2.49.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 32736
:
182708
| 182710