From c7d3012d0cd34fb2c3d894cbc3db24849563310b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gardais=20J=C3=A9r=C3=A9my?= Date: Wed, 24 Nov 2021 07:36:32 +0100 Subject: [PATCH] Test sge_execd in two steps --- cluster/sge.enable.host.queue.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cluster/sge.enable.host.queue.sh b/cluster/sge.enable.host.queue.sh index 25969cd..94ec4df 100755 --- a/cluster/sge.enable.host.queue.sh +++ b/cluster/sge.enable.host.queue.sh @@ -565,6 +565,11 @@ main() { # {{{ && systemctl --quiet start sge_execd.service > /dev/null 2>&1 \ && sleep "${sleep_delay}" ## }}} + ## If anything related to SGE is still absent from the system {{{ + ### Exit with error if the service can't start + is_proc_absent "${sge_proc_pattern}" \ + && exit 4 + ## }}} fi ## If we need to watch for upgrades