From b2def28fabeb33b0df707ecf4247beebc3046ef7 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 31 Jan 2024 11:19:09 +0100 Subject: [PATCH] Update 20-folders.sh --- postgres/rootfs/etc/cont-init.d/20-folders.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgres/rootfs/etc/cont-init.d/20-folders.sh b/postgres/rootfs/etc/cont-init.d/20-folders.sh index adfdabf51..ed0b7e84c 100755 --- a/postgres/rootfs/etc/cont-init.d/20-folders.sh +++ b/postgres/rootfs/etc/cont-init.d/20-folders.sh @@ -13,5 +13,5 @@ if [ -f /homeassistant/addons_config/postgres/config.yaml ]; then mv /homeassistant/addons_config/postgres/* /config/ rm -r /homeassistant/addons_config/postgres # Correct database location - sed -i "s|/data/|/config/|g" /config/postgresql.conf + sed -i "s|/data/database|/config/database|g" /config/postgresql.conf fi