mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-21 13:30:32 +02:00
Update run
This commit is contained in:
@@ -5,6 +5,13 @@
|
|||||||
# Wait for transmission to become available
|
# Wait for transmission to become available
|
||||||
bashio::net.wait_for 3000 localhost 900
|
bashio::net.wait_for 3000 localhost 900
|
||||||
|
|
||||||
|
# Set TZ
|
||||||
|
if bashio::config.has_value 'TZ'; then
|
||||||
|
TIMEZONE=$(bashio::config 'TZ')
|
||||||
|
bashio::log.info "Setting timezone to $TIMEZONE"
|
||||||
|
ln -snf /usr/share/zoneinfo/"$TZ" /etc/localtime && echo "$TZ" >/etc/timezone
|
||||||
|
fi
|
||||||
|
|
||||||
bashio::log.info "Starting NGinx..."
|
bashio::log.info "Starting NGinx..."
|
||||||
|
|
||||||
exec nginx
|
exec nginx
|
||||||
|
|||||||
Reference in New Issue
Block a user