Rootless-Docker server (wireguard-go + Caddy sharing netns) and unprivileged-LXC client (kernel WG + systemd watchdog/monitor/MTU-probe) with curl-pipeable bootstrap. Tuned for Telekom DSL/LTE Hybrid uplinks.
15 lines
328 B
SYSTEMD
15 lines
328 B
SYSTEMD
[Unit]
|
|
Description=wirecon watchdog — run check every 20s
|
|
After=wg-quick@wg0.service
|
|
|
|
[Timer]
|
|
# Kick off soon after boot, then every 20s.
|
|
OnBootSec=30s
|
|
OnUnitActiveSec=20s
|
|
AccuracySec=1s
|
|
# Prevents timer drift if a check takes a while (e.g. during a reconnect).
|
|
Unit=wirecon-watchdog.service
|
|
|
|
[Install]
|
|
WantedBy=timers.target
|