doc: document refresh command

This commit is contained in:
Miroslav Lichvar 2015-09-29 16:27:38 +02:00
parent c6c833fb9c
commit b698184939

View file

@ -3355,6 +3355,7 @@ interface.
* online command:: Warn that connectivity to a source has been restored * online command:: Warn that connectivity to a source has been restored
* polltarget command:: Set poll target for a source * polltarget command:: Set poll target for a source
* quit command:: Exit from chronyc * quit command:: Exit from chronyc
* refresh command:: Refresh IP addresses
* reselect command:: Reselect synchronisation source * reselect command:: Reselect synchronisation source
* reselectdist command:: Set improvement in distance needed to reselect a source * reselectdist command:: Set improvement in distance needed to reselect a source
* retries command:: Set maximum number of retries * retries command:: Set maximum number of retries
@ -4174,6 +4175,17 @@ to 12.
The quit command exits from chronyc and returns the user to the shell The quit command exits from chronyc and returns the user to the shell
(same as the exit command). (same as the exit command).
@c }}} @c }}}
@c {{{ refresh command
@node refresh command
@subsubsection refresh
The @code{refresh} command can be used to force @code{chronyd} to resolve the
names of configured sources to IP addresses again, e.g. after suspending and
resuming the machine in a different network.
Sources that stop responding will be replaced with newly resolved addresses
automatically after 8 polling intervals, but this command may still be useful
to replace them immediately and not wait until they are marked as unreachable.
@c }}}
@c {{{ reselect command @c {{{ reselect command
@node reselect command @node reselect command
@subsubsection reselect @subsubsection reselect