Skip to content

Commit

Permalink
[dhcp_relay] complete the dhcp_relay service dependency towards teamd (
Browse files Browse the repository at this point in the history
…#1356)

This change makes sure that the dhcp_relay service will be started
after teamd service is started from a stopped state.
  • Loading branch information
yxieca authored Jan 31, 2018
1 parent a36527a commit 673c82f
Showing 1 changed file with 2 additions and 2 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,7 +1,7 @@
[Unit]
Description=DHCP relay container
Requires=docker.service teamd.service
After=swss.service
After=swss.service teamd.service

[Service]
User={{ sonicadmin_user }}
Expand All @@ -10,4 +10,4 @@ ExecStart=/usr/bin/{{ docker_container_name }}.sh attach
ExecStop=/usr/bin/{{ docker_container_name }}.sh stop

[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target teamd.service

0 comments on commit 673c82f

Please sign in to comment.