From 5d730208ae49bc87a54cfd7f07a256cd00e979a8 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 --- 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 15ae70701a5..f230b68fcfe 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 8889405b4bd..d1d1601357c 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.30.2