From f4466bdfc08c21d702bb975e7abd340932eb5a40 Mon Sep 17 00:00:00 2001 From: Junho Hwang <72647031+juno-junho@users.noreply.github.com> Date: Tue, 16 Apr 2024 06:28:06 -0700 Subject: [PATCH] Update deploy-blue-green.sh --- scripts/deploy-blue-green.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 "