From 9333c138a774192f60b39fba5a0e12a8713b42b1 Mon Sep 17 00:00:00 2001 From: Magnus Enger Date: Fri, 30 Aug 2024 10:00:25 +0200 Subject: [PATCH] Bug 37787; Undocument 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 not mentioned in the list of "current queues" - See https://wiki.koha-community.org/wiki/Testing_man_pages for how to check the "man" page. elastic_index should not be mentioned in the list of "Current queues". - Both places aboce should have a note about elastic_index not being active when koha-es-indexer is running. --- debian/docs/koha-worker.xml | 3 ++- debian/scripts/koha-worker | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/debian/docs/koha-worker.xml b/debian/docs/koha-worker.xml index f230b68fcf..56a5f0cb82 100644 --- a/debian/docs/koha-worker.xml +++ b/debian/docs/koha-worker.xml @@ -63,7 +63,8 @@ Allows specifying the queue worker (defaults to 'default'). - Current queues are: default, long_tasks, elastic_index. + Current queues are: default, long_tasks. + Note: There used to be a queue called elastic_index, but since the introduction of koha-es-indexer this queue should not be active. diff --git a/debian/scripts/koha-worker b/debian/scripts/koha-worker index d1d1601357..aa51c90c13 100755 --- a/debian/scripts/koha-worker +++ b/debian/scripts/koha-worker @@ -48,12 +48,15 @@ $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, elastic_index + current queues are: default, long_tasks --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). --help|-h Display this help message +Note: There used to be a queue called elastic_index, but since the introduction +of koha-es-indexer this queue should not be active. + EOF } -- 2.34.1