Update 00-config_location.sh

This commit is contained in:
Alexandre
2022-09-15 17:24:02 +02:00
committed by GitHub
parent d9d06ae511
commit 3a07cbe19a

View File

@@ -6,6 +6,7 @@ bashio::log.info "Config stored in $CONFIG_LOCATION"
mkdir -p "$CONFIG_LOCATION"
chown -R abc:abc "$CONFIG_LOCATION"
chmod -R 755 "$CONFIG_LOCATION"
for file in $(grep -Esril "/config/addons_config/overseerr" /etc/logrotate.d /defaults /etc/cont-init.d /etc/services.d /etc/s6-overlay/s6-rc.d); do
sed -i "s=/config/addons_config/overseerr=$CONFIG_LOCATION=g" "$file"