mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-26 02:31:51 +02:00
Update 91-run.sh
This commit is contained in:
@@ -4,10 +4,6 @@
|
|||||||
###############
|
###############
|
||||||
# Start nginx #
|
# Start nginx #
|
||||||
###############
|
###############
|
||||||
# Set variables
|
|
||||||
slug=autobrr
|
|
||||||
port=7474
|
|
||||||
CONFIG_LOCATION=/config/addons_config/"$slug"/config.toml
|
|
||||||
|
|
||||||
# Set UrlBase
|
# Set UrlBase
|
||||||
if ! grep -q "hassioautobrr" /config/addons_config/autobrr/config.toml; then
|
if ! grep -q "hassioautobrr" /config/addons_config/autobrr/config.toml; then
|
||||||
@@ -18,7 +14,7 @@ if ! grep -q "hassioautobrr" /config/addons_config/autobrr/config.toml; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
bashio::log.info "Starting NGinx..."
|
bashio::log.info "Starting NGinx..."
|
||||||
exec nginx
|
exec nginx & true
|
||||||
|
|
||||||
#############
|
#############
|
||||||
# Start app #
|
# Start app #
|
||||||
|
|||||||
Reference in New Issue
Block a user