2019-09-14 22:27:09 -05:00
|
|
|
[Unit]
|
|
|
|
Description=sFlow container
|
|
|
|
Requires=swss.service
|
2019-10-31 11:18:26 -05:00
|
|
|
After=swss.service syncd.service
|
2019-09-14 22:27:09 -05:00
|
|
|
Before=ntp-config.service
|
|
|
|
|
|
|
|
[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
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|