diff --git a/nitro-shim/scripts/sleep.sh b/nitro-shim/scripts/sleep.sh index 0c23faeb1..2f6f01b5b 100755 --- a/nitro-shim/scripts/sleep.sh +++ b/nitro-shim/scripts/sleep.sh @@ -1,11 +1,13 @@ #!/bin/bash +echo --- Monitoring enclave $(date) --- set -eux while true do # check every so often that the enclave is running sleep 480 + date EID=$(nitro-cli describe-enclaves | jq -r .[].EnclaveID) if [ "${EID}" == "" ]; then