Skip to content

Commit

Permalink
[FIX] 포트 실행 테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
dragontaek-lee committed Dec 31, 2023
1 parent 32e06c3 commit e222d27
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/run_new_was.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ fi

if [ "$DEPLOYMENT_GROUP_NAME" == "prod" ]
then
nohup java -jar -Dserver.port=${TARGET_PORT} -Dspring.profiles.active=prod /home/ubuntu/operation/build/libs/operation-0.0.1-SNAPSHOT.jar > /dev/null 2> /dev/null < /dev/null &
nohup java -jar -Dserver.port=${TARGET_PORT} -Dspring.profiles.active=prod /home/ubuntu/operation/build/libs/operation-0.0.1-SNAPSHOT.jar &
echo "> Port Check $(lsof -Fp -i TCP:${TARGET_PORT})"
echo "> Now new WAS runs at ${TARGET_PORT}."
fi

Expand Down

0 comments on commit e222d27

Please sign in to comment.