blob: d11e2d4069251e7f85eb913b78285f0e73200a2a [file] [log] [blame]
Patrick Williams92b42cb2022-09-03 06:53:57 -05001# Load config files matching the /etc/chrony/conf.d/*.conf pattern.
2confdir /etc/chrony/conf.d
3
Patrick Williamsddad1a12017-02-23 20:36:32 -06004# Use public NTP servers from the pool.ntp.org project.
5# Please consider joining the pool project if possible by running your own
6# server(s).
7# If you are a vendor distributing a product using chrony, you *MUST*
8# read and comply with http://www.pool.ntp.org/vendors.html
9pool 0.openembedded.pool.ntp.org iburst
10
11# Use a local timeserver in preference to the pool, if it's reachable.
12#server 192.168.22.22 iburst minpoll 2 prefer
13
14# Sync to pulse-per-second from an onboard GPS.
15#refclock PPS /dev/pps0 poll 0 prefer
16# You'll want to enable CONFIG_PPS and CONFIG_PPS_CLIENT_GPIO in your kernel,
17# and an entry something like this in your device tree:
18# pps {
19# compatible = "pps-gpio";
20# gpios = <&ps7_gpio_0 56 0>;
21# };
22
Patrick Williams92b42cb2022-09-03 06:53:57 -050023# Load source files matching the /etc/chrony/sources.d/*.sources pattern.
24# These can be reloaded using 'chronyc reload sources'.
25sourcedir /etc/chrony/sources.d
26
Patrick Williamsddad1a12017-02-23 20:36:32 -060027# In first three updates step the system clock instead of slew
28# if the adjustment is larger than 1 second.
29makestep 1.0 3
30
31# Record the rate at which the system clock gains/loses time,
32# improving accuracy after reboot
33driftfile /var/lib/chrony/drift
34
35# Enable kernel synchronization of the hardware real-time clock (RTC).
36rtcsync
37
38# Allow NTP client access from local network.
39#allow 192.168/16
40
41# Serve time even if not synchronized to any NTP server.
42#local stratum 10
43
44# Specify file containing keys for NTP authentication.
45#keyfile /etc/chrony.keys
46
47# Specify directory for log files.
48logdir /var/log/chrony
49
50# Select which information is logged.
51#log measurements statistics tracking