diff --git a/scripts/deploy-blue-green.sh b/scripts/deploy-blue-green.sh index 4df9f631..1e8ae6d6 100644 --- a/scripts/deploy-blue-green.sh +++ b/scripts/deploy-blue-green.sh @@ -53,7 +53,7 @@ else fi echo "> $IDLE_PROFILE 배포" -sudo nohup java -jar $JAR_PATH --spring.profiles.active=develop,$IDLE_APPLICATION_PATH --jasypt.encryptor.password=${encrypt} > /home/ubuntu/log/nohup_log.out 2> /home/ubuntu/log/nohup_error.out & +sudo nohup java -jar $IDLE_APPLICATION_PATH --spring.profiles.active=develop,$IDLE_PROFILE --jasypt.encryptor.password=${encrypt} > /home/ubuntu/log/nohup_log.out 2> /home/ubuntu/log/nohup_error.out & echo "> $IDLE_PROFILE 10초 후 Health check 시작" echo "> curl -s http://localhost:$IDLE_PORT/actuator/health "