2018-03-27 15:39:04 -05:00
|
|
|
[Unit]
|
|
|
|
Description=Telemetry container
|
|
|
|
Requires=swss.service
|
|
|
|
After=swss.service
|
2018-12-03 18:01:44 -06:00
|
|
|
Before=ntp-config.service
|
2018-03-27 15:39:04 -05:00
|
|
|
|
|
|
|
[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
|