mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-21 06:51:28 +01:00
The exporter binds to the host LAN address, which systemd-networkd assigns during boot. Without ordering, the service starts before the address exists, `bind: cannot assign requested address` trips the start limit, and the unit stays failed until restarted manually. Order the unit after network-online.target, and since wait-online is best-effort (120s timeout), also retry patiently so the unit self-heals when the link comes up late.