Skip to content

Commit

Permalink
chore: deploy시에 timezone 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
eckrin committed Aug 8, 2024
1 parent a5575ee commit 311bbfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ cp $PROJECT_ROOT/build/libs/*.jar $JAR_FILE

# jar 파일 실행
echo "$TIME_NOW > $JAR_FILE 파일 실행" >> $DEPLOY_LOG
nohup java -jar $JAR_FILE > $APP_LOG 2> $ERROR_LOG &
nohup java -jar -Duser.timezone=Asia/Seoul $JAR_FILE > $APP_LOG 2> $ERROR_LOG &

CURRENT_PID=$(pgrep -f $JAR_FILE)
echo "$TIME_NOW > 실행된 프로세스 아이디 $CURRENT_PID 입니다." >> $DEPLOY_LOG

0 comments on commit 311bbfb

Please sign in to comment.