Skip to content

Commit

Permalink
Merge pull request #14 from TG-WinG/feature/build
Browse files Browse the repository at this point in the history
fix: 배포상태 타임아웃 수정
  • Loading branch information
wwingyou authored Mar 25, 2024
2 parents ebfb8f7 + 4ff78b1 commit 5327fb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion JWT/deploy/runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
nohup java -jar $1 --spring.profiles.active=dev 2>&1 > out.log &

echo "waiting for server to startup..."
sleep 60
sleep 30

# after sleep, check server is still running.
pid=$(sudo lsof -t -i :8080)
Expand Down
1 change: 1 addition & 0 deletions JWT/deploy/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ script_dir=$(dirname "$0")
exit_code=$?

if [ $exit_code -ne 0 ]; then
echo "Error: there's some problems running new jar. recover backup jar."
"${script_dir}/recover.sh"
exit 1
fi

0 comments on commit 5327fb6

Please sign in to comment.