[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]
|
[Unit]
|
||||||
Description=Router advertiser container
|
Description=Router advertiser container
|
||||||
Requires=updategraph.service swss.service
|
Requires=updategraph.service
|
||||||
After=updategraph.service swss.service
|
After=updategraph.service swss.service
|
||||||
Before=ntp-config.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
|
ExecStop=/usr/bin/{{ docker_container_name }}.sh stop
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target swss.service
|
WantedBy=multi-user.target
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
SERVICE="swss"
|
SERVICE="swss"
|
||||||
PEER="syncd"
|
PEER="syncd"
|
||||||
DEPENDENT="teamd"
|
DEPENDENT="teamd radv"
|
||||||
DEBUGLOG="/tmp/swss-syncd-debug.log"
|
DEBUGLOG="/tmp/swss-syncd-debug.log"
|
||||||
LOCKFILE="/tmp/swss-syncd-lock"
|
LOCKFILE="/tmp/swss-syncd-lock"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user