From 355653576fb507bdf88ee4d192d1e8387a49a4ca Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 10 Dec 2021 14:29:39 +0100 Subject: [PATCH] Update 00-config_location.sh --- readarr/root/etc/cont-init.d/00-config_location.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/readarr/root/etc/cont-init.d/00-config_location.sh b/readarr/root/etc/cont-init.d/00-config_location.sh index 19eb2eb46..4ffa8db5b 100644 --- a/readarr/root/etc/cont-init.d/00-config_location.sh +++ b/readarr/root/etc/cont-init.d/00-config_location.sh @@ -4,5 +4,7 @@ CONFIG_LOCATION=$(bashio::config 'config_location') bashio::log.info "Config stored in $CONFIG_LOCATION" mkdir -p $CONFIG_LOCATION +chown -R abc:abc $CONFIG_LOCATION + sed -i "s|/config/readarrg|$CONFIG_LOCATION|g" /etc/services.d/readarr/run sed -i "s|/config/readarr|$CONFIG_LOCATION|g" /etc/cont-init.d/30-config