From f091789c6ecde90e56260549e139c5ab2f72efed Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 3 Jan 2025 18:18:29 +0100 Subject: [PATCH] Update pg command https://github.com/alexbelgium/hassio-addons/issues/1676#issuecomment-2569399107 --- postgres/rootfs/etc/cont-init.d/99-run.sh | 2 +- 1 file changed, 1 insertion(+), 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 bbe6bb4fc..f38b9951d 100755 --- a/postgres/rootfs/etc/cont-init.d/99-run.sh +++ b/postgres/rootfs/etc/cont-init.d/99-run.sh @@ -37,7 +37,7 @@ bashio::log.info "Starting the app" # Start background tasks if [ "$(bashio::info.arch)" != "armv7" ]; then /./docker-entrypoint-initdb.d/10-vector.sh & true - docker-entrypoint.sh postgres -c shared_preload_libraries=vectors.so & true + docker-entrypoint.sh postgres -c shared_preload_libraries=vectors.so -c search_path="$user, public, vectors" -c logging_collector=on & true else bashio::log.warning "ARMv7 detected: Starting without vectors.so" docker-entrypoint.sh postgres & true