This commit is contained in:
Alexandre
2021-12-10 15:05:27 +01:00
parent a3d038de19
commit 5bccc2c715
7 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
#!/usr/bin/with-contenv bashio
CONFIG_LOCATION=$(bashio::config 'config_location')
bashio::log.info "Config stored in $CONFIG_LOCATION"
mkdir -p $CONFIG_LOCATION
chown -R abc:abc $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