From d126bdc5663e76f9c1337147a757e2f4cb88e60a Mon Sep 17 00:00:00 2001
From: Roman Sliva <roman.sliva@vsb.cz>
Date: Thu, 11 Nov 2021 10:49:54 +0100
Subject: [PATCH] Update capacity-computing.md - HyperQueue worker fix

---
 docs.it4i/general/capacity-computing.md | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/docs.it4i/general/capacity-computing.md b/docs.it4i/general/capacity-computing.md
index 0fd8d8ef9..8a1bff8d5 100644
--- a/docs.it4i/general/capacity-computing.md
+++ b/docs.it4i/general/capacity-computing.md
@@ -247,13 +247,7 @@ The workers should run on computing nodes, so you can start them using PBS.
 * Start a worker on a single PBS node:
 
     ```console
-    $ qsub <qsub-params> -- `which hq` worker start
-    ```
-
-* Start a worker on all allocated PBS nodes:
-
-    ```console
-    $ qsub <qsub-params> -- `which pbsdsh` `which hq` worker start
+    $ qsub <qsub-params> -- /bin/bash -l -c "$(which hq) worker start --idle-timeout 0sec"
     ```
 
 In an upcoming version, HyperQueue will be able to automatically submit PBS jobs with workers
-- 
GitLab