Revert "Revert "[hostcfgd] Delay hostcfgd and aaastatsd for faster boot time (#7965)" (#8705)" (#8724)
This reverts commit f4dea87cf9
.
This commit is contained in:
parent
690f6ad883
commit
66ca6d33c7
@ -12,6 +12,3 @@ Restart=on-failure
|
||||
RestartSec=10
|
||||
TimeoutStopSec=3
|
||||
|
||||
[Install]
|
||||
WantedBy=sonic.target
|
||||
|
||||
|
@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Delays aaastatsd daemon until SONiC has started
|
||||
PartOf=aaastatsd.service
|
||||
|
||||
[Timer]
|
||||
OnActiveSec=1min 30 sec
|
||||
Unit=aaastatsd.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target sonic.target
|
||||
|
@ -9,6 +9,3 @@ After=sonic.target
|
||||
Type=simple
|
||||
ExecStart=/usr/local/bin/hostcfgd
|
||||
|
||||
[Install]
|
||||
WantedBy=sonic.target
|
||||
|
||||
|
@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Delays hostcfgd daemon until SONiC has started
|
||||
PartOf=hostcfgd.service
|
||||
|
||||
[Timer]
|
||||
OnActiveSec=1min 30 sec
|
||||
Unit=hostcfgd.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target sonic.target
|
||||
|
Loading…
Reference in New Issue
Block a user