Skip to content

Commit dced3cd

Browse files
jlevequezhenggen-xu
authored andcommitted
[services] Remove explicit dependencies from dhcp_relay service file, control in swss.sh (sonic-net#3823)
1 parent 6e5b0d1 commit dced3cd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

files/build_templates/dhcp_relay.service.j2

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[Unit]
22
Description=DHCP relay container
3-
Requires=updategraph.service swss.service teamd.service
3+
Requires=updategraph.service
44
After=updategraph.service swss.service syncd.service teamd.service
55
Before=ntp-config.service
66
StartLimitIntervalSec=1200
@@ -15,4 +15,4 @@ Restart=always
1515
RestartSec=30
1616

1717
[Install]
18-
WantedBy=multi-user.target swss.service teamd.service
18+
WantedBy=multi-user.target

files/scripts/swss.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
SERVICE="swss"
44
PEER="syncd"
5-
DEPENDENT="teamd radv"
5+
DEPENDENT="teamd radv dhcp_relay"
66
DEBUGLOG="/tmp/swss-syncd-debug.log"
77
LOCKFILE="/tmp/swss-syncd-lock"
88

0 commit comments

Comments
 (0)