From b348609a35f6fab0885b92719cd5f2b1edb0129e Mon Sep 17 00:00:00 2001 From: wingyou Date: Mon, 25 Mar 2024 21:52:45 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=B0=B0=ED=8F=AC=EC=83=81=ED=83=9C=20?= =?UTF-8?q?=ED=83=80=EC=9E=84=EC=95=84=EC=9B=83=20=EB=8D=94=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- JWT/deploy/runner.sh | 2 +- JWT/deploy/startup.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/JWT/deploy/runner.sh b/JWT/deploy/runner.sh index 13b6558..fa06dc7 100755 --- a/JWT/deploy/runner.sh +++ b/JWT/deploy/runner.sh @@ -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) diff --git a/JWT/deploy/startup.sh b/JWT/deploy/startup.sh index 1a91f94..7d73d4a 100755 --- a/JWT/deploy/startup.sh +++ b/JWT/deploy/startup.sh @@ -12,3 +12,5 @@ if [ $exit_code -ne 0 ]; then "${script_dir}/recover.sh" exit 1 fi + +exit 0