From e469ff9019b0670892524af4fa79bf56589eb58f Mon Sep 17 00:00:00 2001 From: Renato Dell'Osso <54045197+renatodellosso@users.noreply.github.com> Date: Tue, 2 Apr 2024 12:45:55 -0400 Subject: [PATCH] Correct cd port --- cd.sh | 2 +- start.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cd.sh b/cd.sh index b56b388..bf6f3ee 100644 --- a/cd.sh +++ b/cd.sh @@ -3,7 +3,7 @@ REMOTE=origin BRANCH=master cd ./../home/ubuntu/RMUD2 git fetch -pid=$(sudo lsof -t -i:443) +pid=$(sudo lsof -t -i:2001) echo "Existing process: $pid" if [[ "$(git rev-parse $BRANCH)" != "$(git rev-parse "$REMOTE/$BRANCH")" ]] || [["$pid" == ""]]; then rm -rf ./cd.log diff --git a/start.sh b/start.sh index 23a6c84..4c1e209 100644 --- a/start.sh +++ b/start.sh @@ -1,7 +1,7 @@ cd server dotnet build -pid=$(sudo lsof -t -i:443) +pid=$(sudo lsof -t -i:2001) echo "Killing process $pid..." sudo kill $pid TIMEOUT_SECS=10