diff --git a/meerket/scripts/start.sh b/meerket/scripts/start.sh index 405935e..687f0f0 100644 --- a/meerket/scripts/start.sh +++ b/meerket/scripts/start.sh @@ -11,7 +11,7 @@ TIME_NOW=$(date +%c) # jar 파일 실행 echo "$TIME_NOW > $JAR_FILE 파일 실행" >> $DEPLOY_LOG -nohup java -jar $JAR_FILE > $APP_LOG 2> $ERROR_LOG & +nohup java -Dloader.path=BOOT-INF/classes -Dloader.main=org.j1p5.MeerketApplication org.springframework.boot.loader.PropertiesLauncher > $APP_LOG 2> $ERROR_LOG & CURRENT_PID=$(pgrep -f $JAR_FILE) echo "$TIME_NOW > 실행된 프로세스 아이디 $CURRENT_PID 입니다." >> $DEPLOY_LOG