sonic-buildimage/files/build_templates/telemetry.service.j2
Stepan Blyshchak d346cb3898 [services] make snmp.timer work again and delay telemetry.service (#3657)
Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2019-11-06 12:12:31 -08:00

13 lines
342 B
Django/Jinja

[Unit]
Description=Telemetry container
Requires=database.service
After=database.service swss.service syncd.service
Before=ntp-config.service
[Service]
User={{ sonicadmin_user }}
ExecStartPre=/usr/bin/{{docker_container_name}}.sh start
ExecStart=/usr/bin/{{docker_container_name}}.sh wait
ExecStop=/usr/bin/{{docker_container_name}}.sh stop