From 2b78cb12055d07b6bab1ffebfecd53d8d8724290 Mon Sep 17 00:00:00 2001 From: jinia91 Date: Sat, 14 May 2022 23:45:05 +0900 Subject: [PATCH] =?UTF-8?q?=EC=8A=A4=ED=81=AC=EB=A6=BD=ED=8A=B8=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- appspec.yml | 3 +-- scripts/stop.sh | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/appspec.yml b/appspec.yml index 05facc6..07f96fb 100644 --- a/appspec.yml +++ b/appspec.yml @@ -25,5 +25,4 @@ hooks: ValidateService: - location: scripts/health.sh timeout: 600 - runas: root - + runas: root \ No newline at end of file diff --git a/scripts/stop.sh b/scripts/stop.sh index c3ef020..4415860 100644 --- a/scripts/stop.sh +++ b/scripts/stop.sh @@ -7,6 +7,7 @@ source ${ABSDIR}/profile.sh IDLE_PORT=$(find_idle_port) echo "> $IDLE_PORT 에서 구동중인 앱 PID 확인" +sleep 30 IDLE_PID=$(lsof -ti tcp:${IDLE_PORT})