sonic-buildimage/files/build_templates/snmp.service.j2
pavel-shirshov 10b4bbcae8 [swss]: Start counter from swss container (#1875)
* sonic-quagga update. Don't spam with 'Vtysh connected from' message

* Enable counters inside swss container. systemd is not flexible enough to follow our business rules
2018-07-26 13:39:08 -07:00

10 lines
290 B
Django/Jinja

[Unit]
Description=SNMP container
Requires=updategraph.service swss.service
After=updategraph.service swss.service
[Service]
ExecStartPre=/usr/bin/{{docker_container_name}}.sh start
ExecStart=/usr/bin/{{docker_container_name}}.sh attach
ExecStop=/usr/bin/{{docker_container_name}}.sh stop