1 2 3 4 5 6 7 8 9 10 11 12
[Unit] ConditionPathExists= ConditionPathExists=/run/keepalived/keepalived.conf After= After=vyos-router.service [Service] KillMode=process ExecStart= ExecStart=/usr/sbin/keepalived --use-file /run/keepalived/keepalived.conf --pid /run/keepalived/keepalived.pid --dont-fork --snmp PIDFile= PIDFile=/run/keepalived/keepalived.pid