From a01166bf60002043228426eb2953c427b270959c Mon Sep 17 00:00:00 2001 From: Ying Xie Date: Tue, 30 Jan 2018 19:11:14 +0000 Subject: [PATCH] [dhcp_relay] complete the dhcp_relay service dependency towards teamd This change makes sure that the dhcp_relay service will be started after teamd service is started from a stopped state. --- files/build_templates/dhcp_relay.service.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/build_templates/dhcp_relay.service.j2 b/files/build_templates/dhcp_relay.service.j2 index ff43a3c2d024..966e2782abe0 100644 --- a/files/build_templates/dhcp_relay.service.j2 +++ b/files/build_templates/dhcp_relay.service.j2 @@ -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