Skip to content

Commit

Permalink
fix : 배포 스크립트 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
thalals committed Jul 15, 2024
1 parent 323dee7 commit 74fa98c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions start_server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ echo "Java Version"
java -version

echo "Start Spring Boot Application!"
CURRENT_PID=$(ps -ef | grep api-0.0.1-SNAPSHOT.jar | grep java | awk '{print $2}')
CURRENT_PID=$(ps -ef | grep thtapis-0.0.1-SNAPSHOT.jar | grep java | awk '{print $2}')

echo $CURRENT_PID

Expand All @@ -19,4 +19,4 @@ fi

echo ">어플리케이션 배포 진행!"

nohup java -jar ~/deploy/build/libs/tht-apis-0.0.1-SNAPSHOT.jar >> ~/deploy/logs/$(date '+%Y-%m-%d')_api.log 2>&1 &
nohup java -jar ~/deploy/tht-apis/build/libs/tht-apis-0.0.1-SNAPSHOT.jar >> ~/deploy/logs/$(date '+%Y-%m-%d')_api.log 2>&1 &

0 comments on commit 74fa98c

Please sign in to comment.