Skip to content

Commit

Permalink
Revert "Revert "[hostcfgd] Delay hostcfgd and aaastatsd for faster bo…
Browse files Browse the repository at this point in the history
…ot time (sonic-net#7965)" (sonic-net#8705)" (sonic-net#8724)

This reverts commit f4dea87.
  • Loading branch information
yxieca authored Sep 14, 2021
1 parent 690f6ad commit 66ca6d3
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,3 @@ Restart=on-failure
RestartSec=10
TimeoutStopSec=3

[Install]
WantedBy=sonic.target

Original file line number Diff line number Diff line change
@@ -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

Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,3 @@ After=sonic.target
Type=simple
ExecStart=/usr/local/bin/hostcfgd

[Install]
WantedBy=sonic.target

Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 66ca6d3

Please sign in to comment.