[services] Remove explicit dependencies from dhcp_relay service file, control in swss.sh (#3823)
This commit is contained in:
parent
d3a1555f30
commit
5e6f8adb22
@ -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
|
||||
|
@ -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"
|
||||
|
||||
|
Reference in New Issue
Block a user