]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/ntp/templates/default/chrony.conf.erb
ntp: Use leapsecond slew/smearing mode
[chef.git] / cookbooks / ntp / templates / default / chrony.conf.erb
index 2c4cfc4bd7037d8f3d583ca979c4b35064b00109..cc3d517a238368b8973a3d8c89dbd2202c852f3b 100644 (file)
@@ -29,3 +29,9 @@ rtcsync
 # Step the system clock instead of slewing it if the adjustment is larger than
 # one second, but only in the first three clock updates.
 makestep 1 3
+
+# Enable leap second smearing
+# Using recommended options
+leapsecmode slew
+maxslewrate 1000
+smoothtime 400 0.001 leaponly