From b5922703b687f8625112ea7d55d2675b89f5a195 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 28 May 2023 08:07:57 +0200 Subject: [PATCH] Update 99-run.sh --- postgres/rootfs/etc/cont-init.d/99-run.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/postgres/rootfs/etc/cont-init.d/99-run.sh b/postgres/rootfs/etc/cont-init.d/99-run.sh index e0ff9b187..4dcb9ded1 100755 --- a/postgres/rootfs/etc/cont-init.d/99-run.sh +++ b/postgres/rootfs/etc/cont-init.d/99-run.sh @@ -4,6 +4,7 @@ # Use new config file CONFIG_HOME="$(bashio::config "CONFIG_LOCATION")" CONFIG_HOME="$(dirname "$CONFIG_HOME")" +mkdir -p "$CONFIG_HOME" if [ ! -f "$CONFIG_HOME"/postgresql.conf.sample ]; then # Copy default config.env if [ -f /usr/local/share/postgresql/postgresql.conf.sample ]; then