mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 00:35:06 -05:00
doc: reduce makestep threshold in examples to 1 second
This commit is contained in:
@@ -34,7 +34,7 @@ useful configuration file would look something like
|
|||||||
server bar.example.net iburst
|
server bar.example.net iburst
|
||||||
server baz.example.net iburst
|
server baz.example.net iburst
|
||||||
driftfile @CHRONYVARDIR@/drift
|
driftfile @CHRONYVARDIR@/drift
|
||||||
makestep 10 3
|
makestep 1.0 3
|
||||||
rtcsync
|
rtcsync
|
||||||
.EE
|
.EE
|
||||||
|
|
||||||
@@ -46,7 +46,7 @@ case look like
|
|||||||
.EX
|
.EX
|
||||||
pool pool.ntp.org iburst
|
pool pool.ntp.org iburst
|
||||||
driftfile @CHRONYVARDIR@/drift
|
driftfile @CHRONYVARDIR@/drift
|
||||||
makestep 10 3
|
makestep 1.0 3
|
||||||
rtcsync
|
rtcsync
|
||||||
.EE
|
.EE
|
||||||
|
|
||||||
|
|||||||
@@ -419,7 +419,7 @@ minimal useful configuration file could be
|
|||||||
|
|
||||||
@example
|
@example
|
||||||
pool pool.ntp.org iburst
|
pool pool.ntp.org iburst
|
||||||
makestep 10 3
|
makestep 1.0 3
|
||||||
rtcsync
|
rtcsync
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@@ -576,7 +576,7 @@ server foo.example.net iburst
|
|||||||
server bar.example.net iburst
|
server bar.example.net iburst
|
||||||
server baz.example.net iburst
|
server baz.example.net iburst
|
||||||
driftfile @CHRONYVARDIR@/drift
|
driftfile @CHRONYVARDIR@/drift
|
||||||
makestep 10 3
|
makestep 1.0 3
|
||||||
rtcsync
|
rtcsync
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@@ -588,7 +588,7 @@ could in this case look like
|
|||||||
@example
|
@example
|
||||||
pool pool.ntp.org iburst
|
pool pool.ntp.org iburst
|
||||||
driftfile @CHRONYVARDIR@/drift
|
driftfile @CHRONYVARDIR@/drift
|
||||||
makestep 10 3
|
makestep 1.0 3
|
||||||
rtcsync
|
rtcsync
|
||||||
@end example
|
@end example
|
||||||
@c }}}
|
@c }}}
|
||||||
@@ -648,7 +648,7 @@ server foo.example.net offline
|
|||||||
server bar.example.net offline
|
server bar.example.net offline
|
||||||
server baz.example.net offline
|
server baz.example.net offline
|
||||||
driftfile @CHRONYVARDIR@/drift
|
driftfile @CHRONYVARDIR@/drift
|
||||||
makestep 10 3
|
makestep 1.0 3
|
||||||
rtcsync
|
rtcsync
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@@ -845,7 +845,7 @@ server baz.example.net maxdelay 0.4 offline
|
|||||||
logdir /var/log/chrony
|
logdir /var/log/chrony
|
||||||
log statistics measurements tracking
|
log statistics measurements tracking
|
||||||
driftfile @CHRONYVARDIR@/drift
|
driftfile @CHRONYVARDIR@/drift
|
||||||
makestep 10 3
|
makestep 1.0 3
|
||||||
maxupdateskew 100.0
|
maxupdateskew 100.0
|
||||||
dumponexit
|
dumponexit
|
||||||
dumpdir @CHRONYVARDIR@
|
dumpdir @CHRONYVARDIR@
|
||||||
@@ -2328,10 +2328,10 @@ only with NTP sources.
|
|||||||
An example of the use of this directive is
|
An example of the use of this directive is
|
||||||
|
|
||||||
@example
|
@example
|
||||||
makestep 1000 10
|
makestep 0.1 10
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
This would step system clock if the adjustment is larger than 1000
|
This would step system clock if the adjustment is larger than 0.1
|
||||||
seconds, but only in the first ten clock updates.
|
seconds, but only in the first ten clock updates.
|
||||||
@c }}}
|
@c }}}
|
||||||
@c {{{ manual
|
@c {{{ manual
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ pool pool.ntp.org iburst
|
|||||||
driftfile /var/lib/chrony/drift
|
driftfile /var/lib/chrony/drift
|
||||||
|
|
||||||
# In first three updates step the system clock instead of slew
|
# In first three updates step the system clock instead of slew
|
||||||
# if the adjustment is larger than 10 seconds.
|
# if the adjustment is larger than 1 second.
|
||||||
makestep 10 3
|
makestep 1.0 3
|
||||||
|
|
||||||
# Enable kernel synchronization of the real-time clock (RTC).
|
# Enable kernel synchronization of the real-time clock (RTC).
|
||||||
rtcsync
|
rtcsync
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ pool pool.ntp.org iburst
|
|||||||
driftfile /var/lib/chrony/drift
|
driftfile /var/lib/chrony/drift
|
||||||
|
|
||||||
# In first three updates step the system clock instead of slew
|
# In first three updates step the system clock instead of slew
|
||||||
# if the adjustment is larger than 10 seconds.
|
# if the adjustment is larger than 1 second.
|
||||||
makestep 10 3
|
makestep 1.0 3
|
||||||
|
|
||||||
# Enable kernel synchronization of the real-time clock (RTC).
|
# Enable kernel synchronization of the real-time clock (RTC).
|
||||||
rtcsync
|
rtcsync
|
||||||
|
|||||||
@@ -128,15 +128,15 @@ driftfile /var/lib/chrony/drift
|
|||||||
#######################################################################
|
#######################################################################
|
||||||
### INITIAL CLOCK CORRECTION
|
### INITIAL CLOCK CORRECTION
|
||||||
# This option is useful to quickly correct the clock on start if it's
|
# This option is useful to quickly correct the clock on start if it's
|
||||||
# off by a large amount. The value '10' means that if the error is less
|
# off by a large amount. The value '1.0' means that if the error is less
|
||||||
# than 10 seconds, it will be gradually removed by speeding up or
|
# than 1 second, it will be gradually removed by speeding up or slowing
|
||||||
# slowing down your computer's clock until it is correct. If the error
|
# down your computer's clock until it is correct. If the error is above
|
||||||
# is above 10 seconds, an immediate time jump will be applied to correct
|
# 1 second, an immediate time jump will be applied to correct it. The
|
||||||
# it. The value '1' means the step is allowed only on the first update
|
# value '3' means the step is allowed only in the first three updates of
|
||||||
# of the clock. Some software can get upset if the system clock jumps
|
# the clock. Some software can get upset if the system clock jumps
|
||||||
# (especially backwards), so be careful!
|
# (especially backwards), so be careful!
|
||||||
|
|
||||||
! makestep 10 1
|
! makestep 1.0 3
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
### LOGGING
|
### LOGGING
|
||||||
|
|||||||
Reference in New Issue
Block a user