9a6d6137a3
### Why I did it Remove UpdateGraphService feature from sonic image. The goal is to simplify the bootup process. ### How I did it Remove updategraph service and updategraph script. Update all related services, replace updategraph.service with config-setup.service. #### How to verify it Build and install new image, load minigraph and check all the services.
18 lines
632 B
Django/Jinja
18 lines
632 B
Django/Jinja
[Unit]
|
|
Description=SNMP container
|
|
Requires=config-setup.service
|
|
Requisite=swss.service
|
|
After=config-setup.service swss.service syncd.service interfaces-config.service
|
|
BindsTo=sonic.target
|
|
After=sonic.target
|
|
Before=ntp-config.service
|
|
StartLimitIntervalSec=1200
|
|
StartLimitBurst=3
|
|
|
|
[Service]
|
|
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'
|
|
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
|
|
RestartSec=30
|