Permalink
Browse files

Fix warninglight not start if not started

  • Loading branch information...
NEMS Linux
NEMS Linux committed Sep 4, 2018
1 parent ee8d381 commit 2bd0dfdf9c9861adb4ab3b09c5cef52e2eea4559
Showing with 2 additions and 1 deletion.
  1. +2 −1 fixes.sh
@@ -209,7 +209,8 @@ check process 9590 with pidfile /run/9590.pid
restartwarninglight=1
fi
if (( $restartwarninglight == 1 )); then
kill `cat /var/run/warninglight.pid` && /root/nems/nems-tools/warninglight >> /var/log/nems/nems-tools/warninglight 2>&1 &
kill `cat /var/run/warninglight.pid` && sleep 1
/root/nems/nems-tools/warninglight >> /var/log/nems/nems-tools/warninglight 2>&1 &
fi
fi

0 comments on commit 2bd0dfd

Please sign in to comment.