Skip to content

Commit

Permalink
hotfix: deploy.sh 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
GaHee99 authored Jun 4, 2024
1 parent 64db83a commit b73a76c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ BUILD_PATH=$(ls /home/ubuntu/app/*SNAPSHOT.jar)
JAR_NAME=$(basename $BUILD_PATH)
IDLE_APPLICATION_PATH=/home/ubuntu/app/${JAR_NAME}
TARGET_PORT=8080
CURRENT_PORT=8080

CURRENT_PID=$(lsof -Fp -i TCP:${CURRENT_PORT} | grep -Po 'p[0-9]+' | grep -Po '[0-9]+')
sudo kill ${CURRENT_PID}
Expand Down

0 comments on commit b73a76c

Please sign in to comment.