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