Skip to content

Commit

Permalink
Update start.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Han-Jeong authored Jan 20, 2024
1 parent 4b820c4 commit 4af6c99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ IDLE_PROFILE=$(find_idle_profile)
echo ">>> $JAR_NAME 를 profile=$IDLE_PROFILE 로 실행합니다."

nohup java -jar \
-Dspring.config.location=classpath:/application.yml,/home/ec2-user/app/application-security.yml,/home/ec2-user/app/application-s3.yml,/home/ec2-user/app/application-real-db.yml,classpath:/application-real.yml,classpath:/application-$IDLE_PROFILE.yml \
-Dspring.config.location=classpath:/application-$IDLE_PROFILE.yml,/home/ec2-user/app/application-security.yml,/home/ec2-user/app/application-s3.yml,/home/ec2-user/app/application-real-db.yml,classpath:/application-real.yml \
-Dspring.profiles.active=$IDLE_PROFILE \
$JAR_NAME > $REPOSITORY/nohup.out 2>&1 &
$JAR_NAME > $REPOSITORY/nohup.out 2>&1 &

0 comments on commit 4af6c99

Please sign in to comment.