Start service if process is NOT running…

This commit is contained in:
Jeremy Gardais 2020-07-13 16:11:41 +02:00
parent ded681aeb9
commit e74122fb21
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 1 additions and 1 deletions

View File

@ -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