chrony.conf 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # Use public servers from the pool.ntp.org project.
  2. # Please consider joining the pool (http://www.pool.ntp.org/join.html).
  3. server 172.25.254.254 iburst
  4. # Record the rate at which the system clock gains/losses time.
  5. driftfile /var/lib/chrony/drift
  6. # Allow the system clock to be stepped in the first three updates
  7. # if its offset is larger than 1 second.
  8. makestep 1.0 3
  9. # Enable kernel synchronization of the real-time clock (RTC).
  10. rtcsync
  11. # Enable hardware timestamping on all interfaces that support it.
  12. #hwtimestamp *
  13. # Increase the minimum number of selectable sources required to adjust
  14. # the system clock.
  15. #minsources 2
  16. # Allow NTP client access from local network.
  17. allow all
  18. bindcmdaddress 0.0.0.0
  19. cmdallow all
  20. # Serve time even if not synchronized to a time source.
  21. #local stratum 10
  22. # Specify file containing keys for NTP authentication.
  23. keyfile /etc/chrony.keys
  24. # Get TAI-UTC offset and leap seconds from the system tz database.
  25. leapsectz right/UTC
  26. # Specify directory for log files.
  27. logdir /var/log/chrony
  28. # Select which information is logged.
  29. #log measurements statistics tracking