f74de8914b
* SONiC system telemetry Support Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com> * Update package name from telemetry to sonic-telemetry Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
14 lines
320 B
Django/Jinja
14 lines
320 B
Django/Jinja
[Unit]
|
|
Description=Telemetry container
|
|
Requires=swss.service
|
|
After=swss.service
|
|
|
|
[Service]
|
|
User={{ sonicadmin_user }}
|
|
ExecStartPre=/usr/bin/{{docker_container_name}}.sh start
|
|
ExecStart=/usr/bin/{{docker_container_name}}.sh attach
|
|
ExecStop=/usr/bin/{{docker_container_name}}.sh stop
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|