Skip to content

Commit

Permalink
add timestamps to the nitro-shim log output (#1894)
Browse files Browse the repository at this point in the history
  • Loading branch information
husobee committed Jul 17, 2023
1 parent c9acfc4 commit fa234f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nitro-shim/scripts/sleep.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit fa234f5

Please sign in to comment.