[radv service] radv service should be a cold only dependent of swss (#3348)
radv should be left alone during warm restart of swss. Otherwise it will announce departure and cause hosts to lose default gateway. Signed-off-by: Ying Xie <ying.xie@microsoft.com>
This commit is contained in:
parent
d92d9f8856
commit
84b667fbaf
@ -1,6 +1,6 @@
|
||||
[Unit]
|
||||
Description=Router advertiser container
|
||||
Requires=updategraph.service swss.service
|
||||
Requires=updategraph.service
|
||||
After=updategraph.service swss.service
|
||||
Before=ntp-config.service
|
||||
|
||||
@ -11,4 +11,4 @@ ExecStart=/usr/bin/{{ docker_container_name }}.sh wait
|
||||
ExecStop=/usr/bin/{{ docker_container_name }}.sh stop
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target swss.service
|
||||
WantedBy=multi-user.target
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
SERVICE="swss"
|
||||
PEER="syncd"
|
||||
DEPENDENT="teamd"
|
||||
DEPENDENT="teamd radv"
|
||||
DEBUGLOG="/tmp/swss-syncd-debug.log"
|
||||
LOCKFILE="/tmp/swss-syncd-lock"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user