2019-09-14 22:27:09 -05:00
|
|
|
[Unit]
|
|
|
|
Description=sFlow container
|
2019-12-03 11:50:49 -06:00
|
|
|
Requisite=swss.service
|
2023-04-23 07:52:06 -05:00
|
|
|
After=swss.service syncd.service hostcfgd.service interfaces-config.service
|
2021-02-25 06:26:24 -06:00
|
|
|
BindsTo=sonic.target
|
|
|
|
After=sonic.target
|
2019-09-14 22:27:09 -05:00
|
|
|
Before=ntp-config.service
|
2019-11-25 15:02:00 -06:00
|
|
|
StartLimitIntervalSec=1200
|
|
|
|
StartLimitBurst=3
|
2019-09-14 22:27:09 -05:00
|
|
|
|
|
|
|
[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
|
2019-11-25 15:02:00 -06:00
|
|
|
RestartSec=30
|
2019-09-14 22:27:09 -05:00
|
|
|
|
|
|
|
[Install]
|
2021-02-25 06:26:24 -06:00
|
|
|
WantedBy=sonic.target
|