diff options
Diffstat (limited to 'data/templates/high-availability/keepalived.conf.j2')
-rw-r--r-- | data/templates/high-availability/keepalived.conf.j2 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/data/templates/high-availability/keepalived.conf.j2 b/data/templates/high-availability/keepalived.conf.j2 index ebff52e1f..4465f8640 100644 --- a/data/templates/high-availability/keepalived.conf.j2 +++ b/data/templates/high-availability/keepalived.conf.j2 @@ -5,6 +5,11 @@ global_defs { dynamic_interfaces script_user root +{% if vrrp.global_parameters is vyos_defined %} +{% if vrrp.global_parameters.startup_delay is vyos_defined %} + vrrp_startup_delay {{ vrrp.global_parameters.startup_delay }} +{% endif %} +{% endif %} notify_fifo /run/keepalived/keepalived_notify_fifo notify_fifo_script /usr/libexec/vyos/system/keepalived-fifo.py } |