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})