Skip to content

Commit

Permalink
Update start.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
yummygyudon authored Nov 17, 2023
1 parent e41a4af commit aa4ee2c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions script/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ if [ -z $JAR_PID ]
then
echo "> ํ˜„์žฌ ๊ตฌ๋™์ค‘์ธ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์ด ์—†์œผ๋ฏ€๋กœ ์ข…๋ฃŒํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค."
else
echo "> kill -15 $JAR_PID"
kill -15 $JAR_PID
echo "> sudo kill -15 $JAR_PID"
sudo kill -15 $JAR_PID
sleep 10
fi

echo "> $JAR_PATH ๋ฐฐํฌ" #3
nohup java -jar -Dspring.profiles.active=$PROFILE $REPOSITORY/build/libs/app-server-0.0.1-SNAPSHOT.jar >nohup.out 2>&1 </dev/null &
sudo nohup java -jar -Dspring.profiles.active=$PROFILE $REPOSITORY/build/libs/app-server-0.0.1-SNAPSHOT.jar >nohup.out 2>&1 </dev/null &

0 comments on commit aa4ee2c

Please sign in to comment.