2017-01-29 13:33:33 -06:00
|
|
|
[Unit]
|
|
|
|
Description=SNMP container
|
2024-03-14 15:12:26 -05:00
|
|
|
Requires=config-setup.service
|
2019-04-16 20:32:36 -05:00
|
|
|
Requisite=swss.service
|
2024-03-14 15:12:26 -05:00
|
|
|
After=config-setup.service swss.service syncd.service interfaces-config.service
|
2021-02-25 06:26:24 -06:00
|
|
|
BindsTo=sonic.target
|
|
|
|
After=sonic.target
|
2018-12-03 18:01:44 -06:00
|
|
|
Before=ntp-config.service
|
2019-10-22 16:41:12 -05:00
|
|
|
StartLimitIntervalSec=1200
|
|
|
|
StartLimitBurst=3
|
2017-01-29 13:33:33 -06:00
|
|
|
|
|
|
|
[Service]
|
2023-10-13 18:00:51 -05:00
|
|
|
ExecStartPre=/bin/bash -c 'end=$((SECONDS+20));while [ $SECONDS -lt $end ];do if /usr/bin/pgrep intfmgrd >/dev/null;then break;else sleep 1;fi;done'
|
2022-09-19 11:34:33 -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-10-22 16:41:12 -05:00
|
|
|
RestartSec=30
|