Skip to content

Commit

Permalink
[radv] Rename service unit file Jinja template to radv.service.j2 (#1480
Browse files Browse the repository at this point in the history
)

- 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'
  • Loading branch information
jleveque authored Mar 10, 2018
1 parent e84e093 commit e6278c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Unit]
Description=Router advertiser container
Requires=updategraph.service
Requires=updategraph.service swss.service
After=updategraph.service swss.service

[Service]
Expand Down

0 comments on commit e6278c1

Please sign in to comment.