### Autogenerated by ${vyos_conf_scripts_dir}/vrrp.py ### {% set snmp = '--snmp' if snmp is defined else '' %} [Unit] After=vyos-router.service # Only start if there is our configuration file ConditionFileNotEmpty=/run/keepalived/keepalived.conf [Service] # Read configuration variable file if it is present ExecStart= ExecStart=/usr/sbin/keepalived --use-file /run/keepalived/keepalived.conf --pid /run/keepalived/keepalived.pid --dont-fork {{ snmp }} PIDFile=/run/keepalived/keepalived.pid