From f95a8de55fbc0d6291b0fabbcdde723165a37104 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 17 Jan 2024 10:55:32 +0100 Subject: [PATCH] Update run --- qbittorrent/rootfs/etc/services.d/nginx/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qbittorrent/rootfs/etc/services.d/nginx/run b/qbittorrent/rootfs/etc/services.d/nginx/run index fc0006275..8e38308bf 100644 --- a/qbittorrent/rootfs/etc/services.d/nginx/run +++ b/qbittorrent/rootfs/etc/services.d/nginx/run @@ -13,7 +13,7 @@ if [ -f /currentip ]; then exec nginx || nginx -s reload & \ while true; do # Get vpn ip - if bashio::config.true 'openvpn_alt_mode'; then + if ! bashio::config.true 'wireguard_enabled' && bashio::config.true 'openvpn_alt_mode'; then curl -s ipecho.net/plain > /vpnip else curl -s ipecho.net/plain --interface tun0 > /vpnip