Skip to content

Commit

Permalink
[Docs]: UTC에서 Seoul 시간으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
Hxxjeong committed Oct 2, 2024
1 parent 0a14edd commit f35f215
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,11 @@ START_LOG="$ROOT_PATH/start.log"

NOW=$(date +%c)

echo "현재 사용자: $(whoami)" >> $START_LOG
echo "secretKey: $(secretKey)" >> $START_LOG

echo "[$NOW] $JAR 복사" >> $START_LOG
cp $ROOT_PATH/build/libs/inconcert-0.0.1-SNAPSHOT.jar $JAR

echo "[$NOW] > $JAR 실행" >> $START_LOG
nohup java -jar $JAR > $APP_LOG 2> $ERROR_LOG &
nohup java -Duser.timezone=Asia/Seoul -jar $JAR > $APP_LOG 2> $ERROR_LOG &

SERVICE_PID=$(pgrep -f $JAR)
echo "[$NOW] > 서비스 PID: $SERVICE_PID" >> $START_LOG

0 comments on commit f35f215

Please sign in to comment.