d346cb3898
Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
17 lines
413 B
Django/Jinja
17 lines
413 B
Django/Jinja
[Unit]
|
|
Description=SNMP container
|
|
Requires=updategraph.service
|
|
Requisite=swss.service
|
|
After=updategraph.service swss.service syncd.service
|
|
Before=ntp-config.service
|
|
StartLimitIntervalSec=1200
|
|
StartLimitBurst=3
|
|
|
|
[Service]
|
|
ExecStartPre=/usr/bin/{{docker_container_name}}.sh start
|
|
ExecStart=/usr/bin/{{docker_container_name}}.sh wait
|
|
ExecStop=/usr/bin/{{docker_container_name}}.sh stop
|
|
Restart=always
|
|
RestartSec=30
|
|
|