Skip to content

Commit

Permalink
[Refactor] start.sh ref
Browse files Browse the repository at this point in the history
  • Loading branch information
Han-Jeong committed Jan 9, 2024
1 parent c5f5ddf commit 9b0f072
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,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-real1.yml, classpath:/application-real2.yml \
-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-real1.yml,classpath:/application-real2.yml \
-Dspring.profiles.active=$IDLE_PROFILE \
$JAR_NAME > $REPOSITORY/nohup.out 2>&1 &

0 comments on commit 9b0f072

Please sign in to comment.