Bug 32465: Add 'queue' to koha-worker help documentation
authorNick Clemens <nick@bywatersolutions.com>
Wed, 14 Dec 2022 15:44:28 +0000 (15:44 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 24 Jan 2023 18:56:22 +0000 (18:56 +0000)
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 486d78f544f1fe074d4f474206155c4bcb02ea2a)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
(cherry picked from commit 8d0443f44a1d22afb3ba5fb70a417727029a5713)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
debian/scripts/koha-worker

index 3d3f262..b074040 100755 (executable)
@@ -40,13 +40,15 @@ $scriptname
 This script lets you manage the worker daemon for your Koha instances.
 
 Usage:
-$scriptname [--start|--stop|--restart] [--quiet|-q] instancename1 [instancename2...]
+$scriptname [--start|--stop|--restart] [--queue queue_name] [--quiet|-q] instancename1 [instancename2...]
 $scriptname --status instancename1 [instancename2...]
 $scriptname -h|--help
 
     --start               Start the worker daemon for the specified instances
     --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
     --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).