mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-11 16:40:32 +02:00
Add baseurl
This commit is contained in:
@@ -5,6 +5,10 @@
|
|||||||
# Wait for transmission to become available
|
# Wait for transmission to become available
|
||||||
bashio::net.wait_for 8989 localhost 900
|
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
|
exec nginx
|
||||||
|
|||||||
Reference in New Issue
Block a user