This commit is contained in:
Alexandre
2022-02-18 14:19:00 +01:00
parent 1e69c735b5
commit 4bc5b57396
6 changed files with 21 additions and 19 deletions

View File

@@ -4,8 +4,8 @@
CONFIG_LOCATION=$(bashio::config 'CONFIG_LOCATION')
bashio::log.info "Config stored in $CONFIG_LOCATION"
mkdir -p $CONFIG_LOCATION
chown -R abc:abc $CONFIG_LOCATION
mkdir -p "$CONFIG_LOCATION"
chown -R abc:abc "$CONFIG_LOCATION"
sed -i "s|/config/readarr|$CONFIG_LOCATION|g" /etc/services.d/readarr/run
sed -i "s|/config/readarr|$CONFIG_LOCATION|g" /etc/cont-init.d/30-config