[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 d3a1555f30
commit 5e6f8adb22
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
[Unit]
Description=DHCP relay container
Requires=updategraph.service swss.service teamd.service
Requires=updategraph.service
After=updategraph.service swss.service syncd.service teamd.service
Before=ntp-config.service
StartLimitIntervalSec=1200
@ -15,4 +15,4 @@ Restart=always
RestartSec=30
[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"