examples: add leapsecmode to chrony.conf examples
This commit is contained in:
parent
784122d44f
commit
6d1cb58d8f
2 changed files with 15 additions and 0 deletions
|
@ -34,6 +34,9 @@ rtcsync
|
||||||
# Save NTS keys and cookies.
|
# Save NTS keys and cookies.
|
||||||
ntsdumpdir /var/lib/chrony
|
ntsdumpdir /var/lib/chrony
|
||||||
|
|
||||||
|
# Insert/delete leap seconds by slewing instead of stepping.
|
||||||
|
#leapsecmode slew
|
||||||
|
|
||||||
# Get TAI-UTC offset and leap seconds from the system tz database.
|
# Get TAI-UTC offset and leap seconds from the system tz database.
|
||||||
#leapsectz right/UTC
|
#leapsectz right/UTC
|
||||||
|
|
||||||
|
|
|
@ -145,6 +145,18 @@ ntsdumpdir /var/lib/chrony
|
||||||
|
|
||||||
! makestep 1.0 3
|
! makestep 1.0 3
|
||||||
|
|
||||||
|
#######################################################################
|
||||||
|
### LEAP SECONDS
|
||||||
|
# A leap second is an occasional one-second correction of the UTC
|
||||||
|
# time scale. By default, chronyd tells the kernel to insert/delete
|
||||||
|
# the leap second, which makes a backward/forward step to correct the
|
||||||
|
# clock for it. As with the makestep directive, this jump can upset
|
||||||
|
# some applications. If you prefer chronyd to make a gradual
|
||||||
|
# correction, causing the clock to be off for a longer time, uncomment
|
||||||
|
# the following line.
|
||||||
|
|
||||||
|
! leapsecmode slew
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
### LOGGING
|
### LOGGING
|
||||||
# If you want to log information about the time measurements chronyd has
|
# If you want to log information about the time measurements chronyd has
|
||||||
|
|
Loading…
Reference in a new issue