mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 04:44:05 +02:00
Update 00-config_location.sh
This commit is contained in:
@@ -14,5 +14,6 @@ bashio::log.info "Config stored in $CONFIG_LOCATION"
|
|||||||
mkdir -p "$CONFIG_LOCATION"
|
mkdir -p "$CONFIG_LOCATION"
|
||||||
chown -R "$PUID:$PGID" "$CONFIG_LOCATION"
|
chown -R "$PUID:$PGID" "$CONFIG_LOCATION"
|
||||||
|
|
||||||
sed -i "s|/config/addons_config/readarr|$CONFIG_LOCATION|g" /etc/services.d/readarr/run
|
for file in $(grep -sril "/config/addons_config/readarr" /etc /defaults); do
|
||||||
sed -i "s|/config/addons_config/readarr|$CONFIG_LOCATION|g" /etc/cont-init.d/30-config
|
sed -i "s|/config/addons_config/readarr|$CONFIG_LOCATION|g" "$file"
|
||||||
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user