Update run

This commit is contained in:
Alexandre
2024-01-11 22:56:15 +01:00
committed by GitHub
parent e9fde96ace
commit 5ad084ff90

View File

@@ -10,7 +10,7 @@ bashio::log.info "Starting NGinx..."
# Check vpn is working
if [ -f /currentip ]; then
exec nginx & \
exec nginx || nginx -s reload & \
while true; do
# Get vpn ip
if bashio::config.true 'openvpn_alt_mode'; then
@@ -37,5 +37,5 @@ if [ -f /currentip ]; then
true
done
else
exec nginx
exec nginx || nginx -s reload
fi