From e6278c1e0e438b79618200030f839bf10cf07c7a Mon Sep 17 00:00:00 2001 From: Joe LeVeque Date: Fri, 9 Mar 2018 23:01:49 -0800 Subject: [PATCH] [radv] Rename service unit file Jinja template to radv.service.j2 (#1480) - Service unit file not getting generated because I changed the docker container name from 'router_advertiser' to 'radv', however I didn't rename the service unit file template name to match. However, slave.mk generates a service file for every docker based on its container name, and since there was no matching 'radv.service.j2' template file, this file stopped getting generated and therefore the docker container was never getting started. - Also add swss.service to 'Requires' --- .../{router_advertiser.service.j2 => radv.service.j2} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename files/build_templates/{router_advertiser.service.j2 => radv.service.j2} (88%) diff --git a/files/build_templates/router_advertiser.service.j2 b/files/build_templates/radv.service.j2 similarity index 88% rename from files/build_templates/router_advertiser.service.j2 rename to files/build_templates/radv.service.j2 index cd8b817eb6..7d6da31e13 100644 --- a/files/build_templates/router_advertiser.service.j2 +++ b/files/build_templates/radv.service.j2 @@ -1,6 +1,6 @@ [Unit] Description=Router advertiser container -Requires=updategraph.service +Requires=updategraph.service swss.service After=updategraph.service swss.service [Service]