Skip to content

Commit 3920ac2

Browse files
jlevequeyxieca
authored andcommitted
[services] Remove explicit dependencies from dhcp_relay service file, control in swss.sh (#3823)
1 parent d0237ec commit 3920ac2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[Unit]
22
Description=DHCP relay container
3-
Requires=updategraph.service swss.service teamd.service
4-
After=updategraph.service swss.service teamd.service
3+
Requires=updategraph.service
4+
After=updategraph.service swss.service syncd.service teamd.service
55
Before=ntp-config.service
66

77
[Service]
@@ -11,4 +11,4 @@ ExecStart=/usr/bin/{{ docker_container_name }}.sh wait
1111
ExecStop=/usr/bin/{{ docker_container_name }}.sh stop
1212

1313
[Install]
14-
WantedBy=multi-user.target swss.service teamd.service
14+
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)