From 119380bc582c33d5223af6bf696fa37f3e617866 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 31 Jan 2024 11:50:05 +0100 Subject: [PATCH] Update 10-vector.sh --- postgres/rootfs/docker-entrypoint-initdb.d/10-vector.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/postgres/rootfs/docker-entrypoint-initdb.d/10-vector.sh b/postgres/rootfs/docker-entrypoint-initdb.d/10-vector.sh index 93f760453..1f568bf99 100644 --- a/postgres/rootfs/docker-entrypoint-initdb.d/10-vector.sh +++ b/postgres/rootfs/docker-entrypoint-initdb.d/10-vector.sh @@ -2,11 +2,12 @@ # shellcheck shell=bash set -e -echo "Setting +bashio::log.info "Waiting for port 5432 to open..." -##################### -# Prepare vector.rs # -##################### +# Wait for transmission to become available +bashio::net.wait_for 5432 localhost 900 + +bashio::log.info "Enabling vector.rs" # Set variables for vector.rs DB_PORT=5432