doc: use iburst option in examples

This commit is contained in:
Miroslav Lichvar 2014-07-01 12:50:13 +02:00
parent c6245dc616
commit d631d7e81f
2 changed files with 17 additions and 13 deletions

View file

@ -24,11 +24,13 @@ However, you will probably want to include some of the other directives
described in detail in the documentation supplied with the distribution described in detail in the documentation supplied with the distribution
(\fIchrony.txt\fR and \fIchrony.texi\fR). The following directives may be (\fIchrony.txt\fR and \fIchrony.texi\fR). The following directives may be
particularly useful : `driftfile', `generatecommandkey', `keyfile', `makestep'. particularly useful : `driftfile', `generatecommandkey', `keyfile', `makestep'.
The smallest useful configuration file would look something like Also, the `iburst' server option is useful to speed up the initial
synchronization. The smallest useful configuration file would look something
like
server a.b.c server a.b.c iburst
server d.e.f server d.e.f iburst
server g.h.i server g.h.i iburst
keyfile @SYSCONFDIR@/chrony.keys keyfile @SYSCONFDIR@/chrony.keys
generatecommandkey generatecommandkey
driftfile @CHRONYVARDIR@/drift driftfile @CHRONYVARDIR@/drift

View file

@ -434,12 +434,13 @@ Now that the software is successfully installed, the next step is to
set up a configuration file. The default location of the file set up a configuration file. The default location of the file
is @file{@SYSCONFDIR@/chrony.conf}. Suppose you want to use public NTP is @file{@SYSCONFDIR@/chrony.conf}. Suppose you want to use public NTP
servers from the pool.ntp.org project as your time reference. A servers from the pool.ntp.org project as your time reference. A
minimal working configuration file could be minimal useful configuration file could be
@example @example
server 0.pool.ntp.org server 0.pool.ntp.org iburst
server 1.pool.ntp.org server 1.pool.ntp.org iburst
server 2.pool.ntp.org server 2.pool.ntp.org iburst
makestep 10 3
@end example @end example
Then, @code{chronyd} can be run. Then, @code{chronyd} can be run.
@ -586,13 +587,14 @@ server g.h.i
However, you will probably want to include some of the other directives However, you will probably want to include some of the other directives
described later. The @code{driftfile} and @code{makestep} directives may be described later. The @code{driftfile} and @code{makestep} directives may be
particularly useful. The smallest useful configuration file would look particularly useful. Also, the @code{iburst} server option is useful to speed
something like up the initial synchronization. The smallest useful configuration file would
look something like
@example @example
server a.b.c server a.b.c iburst
server d.e.f server d.e.f iburst
server g.h.i server g.h.i iburst
driftfile @CHRONYVARDIR@/drift driftfile @CHRONYVARDIR@/drift
makestep 10 3 makestep 10 3
@end example @end example