Skip to content

Commit

Permalink
fix: 배포상태 타임아웃 더 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
wwingyou committed Mar 25, 2024
1 parent 96983bc commit b348609
Show file tree
Hide file tree
Showing 2 changed files with 3 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 30
sleep 10

# after sleep, check server is still running.
pid=$(sudo lsof -t -i :8080)
Expand Down
2 changes: 2 additions & 0 deletions JWT/deploy/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ if [ $exit_code -ne 0 ]; then
"${script_dir}/recover.sh"
exit 1
fi

exit 0

0 comments on commit b348609

Please sign in to comment.