Skip to content

Commit

Permalink
Adds rtcsync directive to chrony config file
Browse files Browse the repository at this point in the history
This directive enables kernel synchronisation (every 11 minutes) of the real-time clock.

It also causes chrony to update the timex sync flag, which is commonly
used to monitor clock synchronisation, e.g. via the prometheus node
exporter.

Fixes bottlerocket-os#1183
  • Loading branch information
errm committed Oct 26, 2020
1 parent 9436cea commit 8a262b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/chrony/chrony-conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ makestep 1.0 3
dumponexit
dumpdir /var/lib/chrony
user chrony
rtcsync

0 comments on commit 8a262b6

Please sign in to comment.