Update 00-config_location.sh

This commit is contained in:
Alexandre
2021-12-10 14:24:48 +01:00
committed by GitHub
parent a5302cfb24
commit 0c49424061

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio
CONFIG_LOCATION=$(bashio::config '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 \
bashio::log.info "Config stored in $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