From 6200490cc7a19b5eeae7a345c45eb709d66b4375 Mon Sep 17 00:00:00 2001 From: Magnus Enger Date: Wed, 7 Feb 2024 07:51:36 +0000 Subject: [PATCH] Bug 36009: Document koha-worker --queue elastic_index To test: - Copy the koha-worker script to the standard location: $ sudo cp debian/scripts/koha-worker /usr/sbin/koha-worker - Check "sudo koha-worker --help" and verify elastic_index is mentioned in the list of "current queues" - See https://wiki.koha-community.org/wiki/Testing_man_pages for how to check the "man" page. There should be a new paragraph about "Current queues" under "--queue" Signed-off-by: David Nind Signed-off-by: Julian Maurice Signed-off-by: Katrin Fischer (cherry picked from commit 3eff8d02b7ec4435a46972710786630518814cb0) Signed-off-by: Fridolin Somers (cherry picked from commit 1a6c28d9c610897acf3fb193ca8356097f9ada42) Signed-off-by: Lucas Gass --- debian/docs/koha-worker.xml | 1 + debian/scripts/koha-worker | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/docs/koha-worker.xml b/debian/docs/koha-worker.xml index 15ae70701a..f230b68fcf 100644 --- a/debian/docs/koha-worker.xml +++ b/debian/docs/koha-worker.xml @@ -63,6 +63,7 @@ Allows specifying the queue worker (defaults to 'default'). + Current queues are: default, long_tasks, elastic_index. diff --git a/debian/scripts/koha-worker b/debian/scripts/koha-worker index 8889405b4b..d1d1601357 100755 --- a/debian/scripts/koha-worker +++ b/debian/scripts/koha-worker @@ -48,7 +48,7 @@ $scriptname -h|--help --stop Stop the worker daemon for the specified instances --restart Restart the worker daemon for the specified instances --queue Specify the queue/worker to restart - 'default' is used if not specified - current queues are: default, long_tasks + current queues are: default, long_tasks, elastic_index --status Show the status of the worker for the specified instances --quiet|-q Make the script quiet about non existent instance names (useful for calling from another scripts). -- 2.39.5