Skip to content

Commit

Permalink
fix : start.sh nohup
Browse files Browse the repository at this point in the history
  • Loading branch information
sunghyun0610 committed Jan 9, 2025
1 parent 20d854c commit 44c398f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meerket/scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 44c398f

Please sign in to comment.