diff --git a/scripts/start.sh b/scripts/start.sh index a6ddb12..c362236 100644 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -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