[services] Remove explicit dependencies from dhcp_relay service file, control in swss.sh (#3823)

This commit is contained in:
Joe LeVeque 2019-11-26 16:59:45 -08:00 committed by Ying Xie
parent d0237ece11
commit 3920ac2368
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
[Unit]
Description=DHCP relay container
Requires=updategraph.service swss.service teamd.service
After=updategraph.service swss.service teamd.service
Requires=updategraph.service
After=updategraph.service swss.service syncd.service teamd.service
Before=ntp-config.service
[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 teamd.service
WantedBy=multi-user.target

View File

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