[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]
|
[Unit]
|
||||||
Description=DHCP relay container
|
Description=DHCP relay container
|
||||||
Requires=updategraph.service swss.service teamd.service
|
Requires=updategraph.service
|
||||||
After=updategraph.service swss.service syncd.service teamd.service
|
After=updategraph.service swss.service syncd.service teamd.service
|
||||||
Before=ntp-config.service
|
Before=ntp-config.service
|
||||||
StartLimitIntervalSec=1200
|
StartLimitIntervalSec=1200
|
||||||
@ -15,4 +15,4 @@ Restart=always
|
|||||||
RestartSec=30
|
RestartSec=30
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target swss.service teamd.service
|
WantedBy=multi-user.target
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
SERVICE="swss"
|
SERVICE="swss"
|
||||||
PEER="syncd"
|
PEER="syncd"
|
||||||
DEPENDENT="teamd radv"
|
DEPENDENT="teamd radv dhcp_relay"
|
||||||
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