diff --git a/steampipe/init-db.sh b/steampipe/init-db.sh index 1c933ca..e1a8937 100644 --- a/steampipe/init-db.sh +++ b/steampipe/init-db.sh @@ -3,8 +3,8 @@ SQL_DIR="/home/steampipe/initdb-sql-scripts" if ls "$SQL_DIR"/*.sql 1> /dev/null 2>&1; then # Check if the directory exists + sleep 20 echo "[init-db.sh] Starting DB Initialization as there are .sql scripts in ~/initdb-sql-scripts directory" - while true; do # Loop until the exit code of healthcheck.sh is 0 bash healthcheck.sh exit_code=$?