mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-04 23:04:09 +02:00
Update run
This commit is contained in:
@@ -93,7 +93,7 @@ wait_for_vpn_ip() {
|
|||||||
|
|
||||||
start_nginx_background() {
|
start_nginx_background() {
|
||||||
bashio::log.info "Starting nginx..."
|
bashio::log.info "Starting nginx..."
|
||||||
nginx -g 'daemon off;' &
|
nginx &
|
||||||
echo $!
|
echo $!
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -135,7 +135,7 @@ fi
|
|||||||
if [[ "${vpn_enabled}" != true ]]; then
|
if [[ "${vpn_enabled}" != true ]]; then
|
||||||
# No VPN: just boot nginx, no IP leak monitoring
|
# No VPN: just boot nginx, no IP leak monitoring
|
||||||
bashio::log.info "No VPN enabled (OpenVPN/WireGuard). Starting nginx without IP monitoring."
|
bashio::log.info "No VPN enabled (OpenVPN/WireGuard). Starting nginx without IP monitoring."
|
||||||
exec nginx -g 'daemon off;'
|
exec nginx
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Read the baseline "real" IP from /currentip
|
# Read the baseline "real" IP from /currentip
|
||||||
|
|||||||
Reference in New Issue
Block a user