From 2c89bbf60f3417ebc16f528eb1a5869379570bca Mon Sep 17 00:00:00 2001 From: Aleksei Ivanov Date: Wed, 5 Apr 2023 16:33:41 +0300 Subject: [PATCH] Update run.sh --- scripts/run.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/scripts/run.sh b/scripts/run.sh index 0cf6165..8e38671 100755 --- a/scripts/run.sh +++ b/scripts/run.sh @@ -98,6 +98,16 @@ main() { log_d "tinyproxy started" + log_d "Stopping previous TagUI run..." + + kill_tagui + + if [ $? -ne 0 ]; then + log_d "Got error while trying to stop TagUI run" + else + log_d "TagUI run stopped successfuly" + fi + rm -rf $ROBOCAT_HOME/tagui/src/chrome/tagui_user_profile TAGUI_COMMAND="tagui $FLOW_PATH $DATA_PATH $TAGUI_ARGS" log_d "Running TagUI with the following command: $TAGUI_COMMAND"