Skip to content

Commit

Permalink
Update deploy.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
sohyundoh committed Jun 24, 2023
1 parent 594ea0d commit fec877a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ else
fi

echo "> application.jar 교체"
IDLE_APPLICATION=$IDLE_PROFILE-LeeSeungHeon.jar
IDLE_APPLICATION=$IDLE_PROFILE-ASAP-Server-Lab.jar
IDLE_APPLICATION_PATH=$DEPLOY_PATH$IDLE_APPLICATION

ln -Tfs $DEPLOY_PATH$JAR_NAME $IDLE_APPLICATION_PATH
Expand All @@ -43,7 +43,7 @@ else
echo "> kill -15 $IDLE_PID"
kill -15 $IDLE_PID
sleep 5
fi
fif

echo "> $IDLE_PROFILE 배포"
nohup java -jar -Duser.timezone=Asia/Seoul -Dspring.profiles.active=$IDLE_PROFILE $IDLE_APPLICATION_PATH >> /home/ubuntu/app/nohup.out 2>&1 &
Expand Down

0 comments on commit fec877a

Please sign in to comment.