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