From e74122fb212be8b03ae58bc6234c408e8d327eda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gardais=20J=C3=A9r=C3=A9my?= Date: Mon, 13 Jul 2020 16:11:41 +0200 Subject: [PATCH] =?UTF-8?q?Start=20service=20if=20process=20is=20NOT=20run?= =?UTF-8?q?ning=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cluster/sge.enable.host.queue.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster/sge.enable.host.queue.sh b/cluster/sge.enable.host.queue.sh index 2b1c943..ef50d0e 100755 --- a/cluster/sge.enable.host.queue.sh +++ b/cluster/sge.enable.host.queue.sh @@ -434,7 +434,7 @@ main() { # {{{ ### Try to start the SGE execd systemd service ### Exit with error if the service can't start is_proc_running "${sge_proc_pattern}" \ - && systemctl --quiet start sge_execd.service > /dev/null 2>&1 \ + || systemctl --quiet start sge_execd.service > /dev/null 2>&1 \ || exit 4 fi