Files
wirecon/lxc/etc/systemd/system/wg-quick@wg0.service.d/override.conf
T
d4nn13 49b01dfcd3 initial commit: wirecon WireGuard stack
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.
2026-04-19 18:20:21 +02:00

15 lines
490 B
Plaintext

[Unit]
# Make sure we come up after the LAN is ready.
After=network-online.target
Wants=network-online.target
[Service]
# wg-quick@ is Type=oneshot with RemainAfterExit=yes by default.
# If `wg-quick up` itself fails (e.g. transient DNS blip resolving the
# server endpoint at boot), retry a few times before giving up — the
# watchdog takes over from there.
Restart=on-failure
RestartSec=10s
# oneshot needs this for Restart to apply:
# (systemd accepts Restart on oneshot in practice)