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
|
2019-11-18 18:56:44 -06:00
|
|
|
StartLimitIntervalSec=1200
|
|
|
|
StartLimitBurst=3
|
2018-03-27 15:39:04 -05:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
User={{ sonicadmin_user }}
|
|
|
|
ExecStartPre=/usr/bin/{{docker_container_name}}.sh start
|
2019-03-08 12:59:41 -06:00
|
|
|
ExecStart=/usr/bin/{{docker_container_name}}.sh wait
|
2018-03-27 15:39:04 -05:00
|
|
|
ExecStop=/usr/bin/{{docker_container_name}}.sh stop
|
2019-11-18 18:56:44 -06:00
|
|
|
Restart=always
|
|
|
|
RestartSec=30
|
2018-03-27 15:39:04 -05:00
|
|
|
|
2019-11-08 23:44:25 -06:00
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|