ba2284c4c0
#### 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.
12 lines
239 B
SYSTEMD
12 lines
239 B
SYSTEMD
[Unit]
|
|
Description=Delays telemetry container until SONiC has started
|
|
PartOf=telemetry.service
|
|
|
|
[Timer]
|
|
OnUnitActiveSec=0 sec
|
|
OnBootSec=3min 30 sec
|
|
Unit=telemetry.service
|
|
|
|
[Install]
|
|
WantedBy=timers.target sonic.target sonic-delayed.target
|