stack2: wait for healthy gluetun before starting qbittorrent

qbittorrent shares gluetun's network. When it starts before the VPN
tunnel is up it never reaches the swarm, and torrents sit on
"downloading metadata" until it is restarted by hand (seen 2026-11-19:
qbit up 12:37:40, tun0 only up 12:38:57 after a failed first server).

- qbittorrent depends_on gluetun with condition: service_healthy and
  restart: true, so it waits for the tunnel and restarts with gluetun
- drop HEALTH_VPN_DURATION_INITIAL, which gluetun v3.41 reports as obsolete

Re-encrypted to the same recipients as secrets.nix: ari, minipc2, hermenix.
This commit is contained in:
hermenix committed 2026-11-19 13:06:44 +00:00
1 parent 4c9d8f88cb
commit 01f039a5ce
1 file changed
Binary file not shown.