Skip to content

Commit

Permalink
refactor: 애플리케이션 실행 시 Asia/Seoul Timezone 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
Mingyum-Kim committed Sep 11, 2023
1 parent 9435d4c commit 108824a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/run_new_was.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ echo "> Kill WAS running at ${TARGET_PORT}."
sudo kill $(sudo lsof -t -i:${TARGET_PORT})

# run jar file in background
nohup sudo java -jar -Dspring.profiles.active=dev -Dserver.port=${TARGET_PORT} /home/ubuntu/app/build/libs/backend-0.0.1-SNAPSHOT.jar > /home/ubuntu/nohup.out 2>&1 &
nohup sudo java -jar -Duser.timezone="Asia/Seoul" -Dspring.profiles.active=dev -Dserver.port=${TARGET_PORT} /home/ubuntu/app/build/libs/backend-0.0.1-SNAPSHOT.jar > /home/ubuntu/nohup.out 2>&1 &
echo "> Now new WAS runs at ${TARGET_PORT}."
exit 0

0 comments on commit 108824a

Please sign in to comment.