Skip to content

Commit

Permalink
fix : jar 파일 실행조건 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-jaesungyu committed May 6, 2024
1 parent 9df9bab commit 6e09a61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ IDLE_PROFILE=$(find_idle_profile)
echo "> $JAR_NAME 를 profile=$IDLE_PROFILE 로 실행합니다."

# 쉬고 있던 프로필로 jar파일을 백그라운드 실행
nohup java -jar \
nohup java -Xms16m -Xmx2048m -jar \
-Dspring.config.location="classpath:/application.properties, /home/ubuntu/app/step3/zip/application-$IDLE_PROFILE.properties" \
-Dspring.profiles.active=$IDLE_PROFILE \
-Duser.timezone=Asia/Seoul \
Expand Down

0 comments on commit 6e09a61

Please sign in to comment.