Last active
August 16, 2025 20:46
-
-
Save SourLemonJuice/dde88d0cffc20d5f1119f8a10e5b51e9 to your computer and use it in GitHub Desktop.
Some example configs of Chrony NTP client. Those config files come from ArchWiki and Fedora default configurations.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/chrony.conf | |
| # cloudflare time server with NTS | |
| server time.cloudflare.com iburst nts | |
| driftfile /var/lib/chrony/drift | |
| rtcfile /var/lib/chrony/rtc | |
| # storage UTC time to RTC | |
| rtconutc | |
| # trim RTC time if the offset over then 3s | |
| rtcautotrim 1 | |
| # don't gradually correct time offset in the first three adjustments, | |
| # if that offset is greater then 0.1s | |
| makestep 0.1 3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/sysconfig/chronyd | |
| # -F to setup Linux secure computing(seccomp) | |
| # level 1 is the most stringent, 2 is casual, 0 is off | |
| # -s -r allows devices with failed RTC to recover accurate time faster | |
| OPTIONS='-F 1 -s -r' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment