Bugzilla – Attachment 182706 Details for
Bug 39961
koha-create doesn't start all queues
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39961: (follow-up) Make `koha-disable` stop all queues
Bug-39961-follow-up-Make-koha-disable-stop-all-que.patch (text/plain), 1.11 KB, created by
Tomás Cohen Arazi (tcohen)
on 2025-05-21 19:53:24 UTC
(
hide
)
Description:
Bug 39961: (follow-up) Make `koha-disable` stop all queues
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2025-05-21 19:53:24 UTC
Size:
1.11 KB
patch
obsolete
>From b8766395024798fb27637dde0e577078202d2b0b Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Wed, 21 May 2025 16:48:01 -0300 >Subject: [PATCH] Bug 39961: (follow-up) Make `koha-disable` stop all queues > >This patch applies the same logic to `koha-disable`. >--- > debian/scripts/koha-disable | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) > >diff --git a/debian/scripts/koha-disable b/debian/scripts/koha-disable >index c8d699435f0..fffb119a076 100755 >--- a/debian/scripts/koha-disable >+++ b/debian/scripts/koha-disable >@@ -72,9 +72,11 @@ do > if is_indexer_running $name; then > koha-indexer --stop $name > fi >- if is_worker_running $name; then >- koha-worker --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 > elif [ "$RET" = 2 ]; then > warn "Error: Apache configuration file not present for instance $name." > else >-- >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 39961
:
182704
|
182705
|
182706
|
182716
|
182717
|
183055
|
183056