From 523b71c523cb955227a88552efeaa1aa18d3fff7 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 31 Jan 2024 13:37:54 +0100 Subject: [PATCH] Update 99-run.sh --- postgres/rootfs/etc/cont-init.d/99-run.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/postgres/rootfs/etc/cont-init.d/99-run.sh b/postgres/rootfs/etc/cont-init.d/99-run.sh index 34ff1a875..40df1ace0 100755 --- a/postgres/rootfs/etc/cont-init.d/99-run.sh +++ b/postgres/rootfs/etc/cont-init.d/99-run.sh @@ -3,8 +3,7 @@ set -e # Use new config file -CONFIG_HOME="$(bashio::config "CONFIG_LOCATION")" -CONFIG_HOME="$(dirname "$CONFIG_HOME")" +CONFIG_HOME="/config" mkdir -p "$CONFIG_HOME" if [ ! -f "$CONFIG_HOME"/postgresql.conf ]; then # Copy default config.env