diff --git a/readarr/root/etc/cont-init.d/00-dynamic_config b/readarr/root/etc/cont-init.d/00-dynamic_config new file mode 100644 index 000000000..e75adc823 --- /dev/null +++ b/readarr/root/etc/cont-init.d/00-dynamic_config @@ -0,0 +1,5 @@ +#!/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 \