From a787cf8c1428442d1f945ddd00fecce3513f71a1 Mon Sep 17 00:00:00 2001 From: Logan Lipke Date: Tue, 2 Jun 2020 14:49:28 -0700 Subject: [PATCH] Added command to resume GUI after killing proc --- updateTest.bash | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/updateTest.bash b/updateTest.bash index dd3fe27d..f80b9e00 100755 --- a/updateTest.bash +++ b/updateTest.bash @@ -20,6 +20,8 @@ grep -q "Current GUI version up to date" $GUIUpdate && exit grep -q -i "fail" $GUIUpdate && exit rm "${HL}/LANforgeGUI_${verNum}/NO_AUTOSTART" +nohup env RESTARTS=999999 ./lfclient.bash -s localhost &> $GUILog + python3 ${scripts}/connectTest.py &> $CTLGUI sleep 1 killall -9 java @@ -35,4 +37,4 @@ rm "${HL}/LANforgeGUI_${verNum}/DAEMON_MODE" -echo "Logs Attached" | mail -s 'GUI Update Logs' -a $GUIUpdate -a $CTLGUI -a $CTLH "test.notice@candelatech.com" +echo "Logs Attached" | mail -s 'GUI Update Logs' -a $GUILog -a $GUIUpdate -a $CTLGUI -a $CTLH "test.notice@candelatech.com"