2018-03-27 15:39:04 -05:00
|
|
|
[Unit]
|
|
|
|
Description=Telemetry container
|
2019-06-24 14:36:16 -05:00
|
|
|
Requires=database.service
|
2019-10-31 11:18:26 -05:00
|
|
|
After=database.service swss.service syncd.service
|
2018-12-03 18:01:44 -06:00
|
|
|
Before=ntp-config.service
|
2021-02-25 06:26:24 -06:00
|
|
|
BindsTo=sonic.target
|
|
|
|
After=sonic.target
|
2019-11-18 18:56:44 -06:00
|
|
|
StartLimitIntervalSec=1200
|
|
|
|
StartLimitBurst=3
|
2018-03-27 15:39:04 -05:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
User={{ sonicadmin_user }}
|
2022-04-18 16:27:48 -05:00
|
|
|
ExecStartPre=/usr/local/bin/{{docker_container_name}}.sh start
|
|
|
|
ExecStart=/usr/local/bin/{{docker_container_name}}.sh wait
|
|
|
|
ExecStop=/usr/local/bin/{{docker_container_name}}.sh stop
|
2019-11-18 18:56:44 -06:00
|
|
|
Restart=always
|
|
|
|
RestartSec=30
|