From 81cee949ab95059115c90385135ce15b350228ab Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 24 Nov 2025 09:09:56 +0100 Subject: [PATCH] Modify VPN monitor condition for public IP check Change condition to check if /currentip is not empty before starting the VPN monitor. --- qbittorrent/rootfs/etc/s6-overlay/s6-rc.d/svc-qbittorrent/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qbittorrent/rootfs/etc/s6-overlay/s6-rc.d/svc-qbittorrent/run b/qbittorrent/rootfs/etc/s6-overlay/s6-rc.d/svc-qbittorrent/run index 6d0a080ee..d0ff84b50 100644 --- a/qbittorrent/rootfs/etc/s6-overlay/s6-rc.d/svc-qbittorrent/run +++ b/qbittorrent/rootfs/etc/s6-overlay/s6-rc.d/svc-qbittorrent/run @@ -255,7 +255,7 @@ elif bashio::config.true 'wireguard_enabled'; then _setup_wireguard # Start Leak Monitor - if [[ -s /currentip ]]; then + if [[ ! -s /currentip ]]; then bashio::log.warning "Could not fetch public ip, the vpn leakage service will not run" else _vpn_monitor_public_ip "WireGuard" &