examples: switch chrony.conf examples to leapseclist
This commit is contained in:
parent
6cf9fe2f16
commit
008dc16727
2 changed files with 6 additions and 6 deletions
|
@ -37,8 +37,8 @@ ntsdumpdir /var/lib/chrony
|
||||||
# Insert/delete leap seconds by slewing instead of stepping.
|
# Insert/delete leap seconds by slewing instead of stepping.
|
||||||
#leapsecmode slew
|
#leapsecmode slew
|
||||||
|
|
||||||
# Get TAI-UTC offset and leap seconds from the system tz database.
|
# Set the TAI-UTC offset of the system clock.
|
||||||
#leapsectz right/UTC
|
#leapseclist /usr/share/zoneinfo/leap-seconds.list
|
||||||
|
|
||||||
# Specify directory for log files.
|
# Specify directory for log files.
|
||||||
logdir /var/log/chrony
|
logdir /var/log/chrony
|
||||||
|
|
|
@ -126,11 +126,11 @@ ntsdumpdir /var/lib/chrony
|
||||||
|
|
||||||
! pidfile /var/run/chrony/chronyd.pid
|
! pidfile /var/run/chrony/chronyd.pid
|
||||||
|
|
||||||
# If the system timezone database is kept up to date and includes the
|
# The system timezone database usually comes with a list of leap seconds and
|
||||||
# right/UTC timezone, chronyd can use it to determine the current
|
# corresponding TAI-UTC offsets. chronyd can use it to set the offset of the
|
||||||
# TAI-UTC offset and when will the next leap second occur.
|
# system TAI clock and have an additional source of leap seconds.
|
||||||
|
|
||||||
! leapsectz right/UTC
|
! leapseclist /usr/share/zoneinfo/leap-seconds.list
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
### INITIAL CLOCK CORRECTION
|
### INITIAL CLOCK CORRECTION
|
||||||
|
|
Loading…
Reference in a new issue