d16dbbb1d3
interfaces-config service configures lo address. If bgp service starts before lo address is configured, then following config in zebra will not be applied. route-map RM_SET_SRC permit 10 set src 10.1.0.32 The adds a few seconds delay in bgp service start
15 lines
378 B
Django/Jinja
15 lines
378 B
Django/Jinja
[Unit]
|
|
Description=BGP container
|
|
Requires=updategraph.service
|
|
After=updategraph.service interfaces-config.service
|
|
Before=ntp-config.service
|
|
|
|
[Service]
|
|
User={{ sonicadmin_user }}
|
|
ExecStartPre=/usr/bin/{{docker_container_name}}.sh start
|
|
ExecStart=/usr/bin/{{docker_container_name}}.sh wait
|
|
ExecStop=/usr/bin/{{docker_container_name}}.sh stop
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|