14 lines
391 B
SYSTEMD
14 lines
391 B
SYSTEMD
|
|
[Unit]
|
||
|
|
Description=Reconcile WAN with VRRP mastership every 30s
|
||
|
|
|
||
|
|
[Timer]
|
||
|
|
# 30s: fast enough that a dropped transition is a blip rather than an outage,
|
||
|
|
# slow enough that it is never the thing generating load. It only commits when
|
||
|
|
# state actually disagrees, so a steady-state tick is two `ip` calls and a grep.
|
||
|
|
OnBootSec=60
|
||
|
|
OnUnitActiveSec=30
|
||
|
|
AccuracySec=5
|
||
|
|
|
||
|
|
[Install]
|
||
|
|
WantedBy=timers.target
|