Skip to content

Commit

Permalink
[services] Remove explicit dependencies from dhcp_relay service file,…
Browse files Browse the repository at this point in the history
… control in swss.sh (#3823)
  • Loading branch information
jleveque authored and yxieca committed Nov 27, 2019
1 parent d3a1555 commit 5e6f8ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions files/build_templates/dhcp_relay.service.j2
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -15,4 +15,4 @@ Restart=always
RestartSec=30

[Install]
WantedBy=multi-user.target swss.service teamd.service
WantedBy=multi-user.target
2 changes: 1 addition & 1 deletion files/scripts/swss.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 5e6f8ad

Please sign in to comment.