[dhcp_relay] complete the dhcp_relay service dependency towards teamd (#1356)

This change makes sure that the dhcp_relay service will be started
after teamd service is started from a stopped state.
This commit is contained in:
Ying Xie 2018-01-30 17:30:38 -08:00 committed by GitHub
parent a36527a6a5
commit 673c82f9a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 }}
@ -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