From 2b639e3e396e78400039f0b9ec1db4da9731bd6e Mon Sep 17 00:00:00 2001 From: Joe LeVeque Date: Mon, 24 Jun 2019 21:33:37 +0000 Subject: [PATCH] [services] BGP service depends on SwSS service --- files/build_templates/bgp.service.j2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/files/build_templates/bgp.service.j2 b/files/build_templates/bgp.service.j2 index 7200a0e3ecf2..35479ed4575f 100644 --- a/files/build_templates/bgp.service.j2 +++ b/files/build_templates/bgp.service.j2 @@ -1,7 +1,7 @@ [Unit] Description=BGP container -Requires=updategraph.service -After=updategraph.service +Requires=updategraph.service swss.service +After=updategraph.service swss.service Before=ntp-config.service [Service] @@ -11,4 +11,4 @@ ExecStart=/usr/bin/{{docker_container_name}}.sh wait ExecStop=/usr/bin/{{docker_container_name}}.sh stop [Install] -WantedBy=multi-user.target +WantedBy=multi-user.target swss.service