c88c3c7ba5
#### Why I did it Create a target for delayed service timers. Few services in sonic have delayed to speed up the bring up of the system and essential services. However there is no way to track when they start. This will be a problem when executing config reload as config reload expects all services to be up. Hence grouped all the timers that trigger the delayed services under one target so that they could be tracked in 'config reload' command #### How I did it Created delay.target service and add created dependency on the delayed targets.
13 lines
243 B
SYSTEMD
13 lines
243 B
SYSTEMD
[Unit]
|
|
Description=Delays snmp container until SONiC has started
|
|
PartOf=snmp.service
|
|
After=swss.service
|
|
|
|
[Timer]
|
|
OnUnitActiveSec=0 sec
|
|
OnBootSec=3min 30 sec
|
|
Unit=snmp.service
|
|
|
|
[Install]
|
|
WantedBy=timers.target swss.service sonic-delayed.target
|