Start service if process is NOT running…
This commit is contained in:
parent
ded681aeb9
commit
e74122fb21
|
@ -434,7 +434,7 @@ main() { # {{{
|
||||||
### Try to start the SGE execd systemd service
|
### Try to start the SGE execd systemd service
|
||||||
### Exit with error if the service can't start
|
### Exit with error if the service can't start
|
||||||
is_proc_running "${sge_proc_pattern}" \
|
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
|
|| exit 4
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue