[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:
Ying Xie 2019-08-16 12:08:46 -07:00 committed by GitHub
parent d92d9f8856
commit 84b667fbaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -2,7 +2,7 @@
SERVICE="swss"
PEER="syncd"
DEPENDENT="teamd"
DEPENDENT="teamd radv"
DEBUGLOG="/tmp/swss-syncd-debug.log"
LOCKFILE="/tmp/swss-syncd-lock"