Skip to content

Commit

Permalink
fix: 스크립트 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ay-eonii committed Aug 18, 2023
1 parent aee5f50 commit ec93546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ cp $ROOT_PATH/build/libs/leets-0.0.1-SNAPSHOT.jar $JAR
source .env

echo "[$NOW] > $JAR 실행" >> $START_LOG
nohup java -jar -Dspring.profiles.active=prod $JAR > $APP_LOG 2> $ERROR_LOG &
nohup java -jar -Dspring.profiles.active=dev $JAR > $APP_LOG 2> $ERROR_LOG &

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

0 comments on commit ec93546

Please sign in to comment.