diff --git a/scripts/start.sh b/scripts/start.sh index ab64ec0..2fd936b 100644 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -26,6 +26,6 @@ IDLE_PROFILE=$(find_idle_profile) echo "> $JAR_NAME 를 profile=$IDLE_PROFILE 로 실행합니다" nohup java -jar \ - -Dspring.config.location=/home/ec2-user/app/application.yml, classpath:/application-$IDLE_PROFILE.yml \ + -Dspring.config.location=/home/ec2-user/app/application.yml,/home/ec2-user/app/application-$IDLE_PROFILE.yml \ -Dspning.profiles.active=$IDLE_PROFILE \ $JAR_NAME > $REPOSITORY/nohup.out 2>&1 & \ No newline at end of file