mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
Add baseurl
This commit is contained in:
@@ -5,6 +5,10 @@
|
||||
# Wait for transmission to become available
|
||||
bashio::net.wait_for 8989 localhost 900
|
||||
|
||||
bashio::log.info "Starting NGinx..."
|
||||
# Set base url
|
||||
CONFIG_LOCATION=/config/addons_config/sonarr/config.xml
|
||||
sed -i "/UrlBase/d" "$CONFIG_LOCATION"
|
||||
sed -i "/<Config>/a <UrlBase>\/sonarr<\/UrlBase>" "$CONFIG_LOCATION"
|
||||
|
||||
bashio::log.info "Starting NGinx..."
|
||||
exec nginx
|
||||
|
||||
Reference in New Issue
Block a user