From e1d84b557c3a5f08222eabaf192019ea61baae41 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 5 Dec 2024 06:31:12 +0100 Subject: [PATCH] Update 99-run.sh --- postgres/rootfs/etc/cont-init.d/99-run.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/postgres/rootfs/etc/cont-init.d/99-run.sh b/postgres/rootfs/etc/cont-init.d/99-run.sh index 853d7847e..e9a9267e6 100755 --- a/postgres/rootfs/etc/cont-init.d/99-run.sh +++ b/postgres/rootfs/etc/cont-init.d/99-run.sh @@ -40,7 +40,7 @@ function shutdown_postgres { exit 0 } -trap 'shutdown_postgres' SIGTERM SIGINT +#trap 'shutdown_postgres' SIGTERM SIGINT # Start background tasks if [ "$(bashio::info.arch)" != "armv7" ]; then @@ -55,5 +55,7 @@ else POSTGRES_PID=$! fi +bashio::log.info "Started!" + # Wait for processes to finish # wait "$VECTOR_PID" "$POSTGRES_PID"