stack/ansible/roles/stack/templates/gluetun-endpoint-watch.timer.j2
tim 218e64314d Add gluetun endpoint watcher (5-minute systemd timer)
When gluetun is unhealthy, re-dig the WireGuard peer hostname, update
wg0.conf Endpoint, recreate gluetun then qbittorrent, and verify the
VPN exit IP. Keeps torrent path alive when provider endpoints rotate.
2026-07-22 11:18:39 -07:00

12 lines
209 B
Django/Jinja

[Unit]
Description=Run gluetun endpoint watch every 5 minutes
[Timer]
OnBootSec=2min
OnUnitActiveSec=5min
AccuracySec=30s
Persistent=true
Unit=gluetun-endpoint-watch.service
[Install]
WantedBy=timers.target