]> git.ipfire.org Git - thirdparty/chrony.git/commit
reference: add wait options for local reference activation
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 13 Mar 2025 14:00:06 +0000 (15:00 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 13 Mar 2025 15:30:27 +0000 (16:30 +0100)
commitbf964673cb3a215cd7493ebf3483f026d6bb99bd
treec19a0d3d927a57908dc195453f77507d56a451df
parentc66c774e26f5d1b7cb83b51e33baa631495c905b
reference: add wait options for local reference activation

Add "waitunsynced" option to specify how long chronyd needs to wait
before it can activate the local reference when the clock is not
synchronized to give the configured sources a chance to synchronize the
local clock after start. The default is 300 seconds when the orphan
option is enabled (same as the ntpd's default orphanwait), 0 otherwise.

Add "waitsynced" option to specify how long it should wait when the
clock is synchronized. It is an additional requirement to the distance
and activate options.
12 files changed:
candm.h
client.c
cmdmon.c
cmdparse.c
cmdparse.h
conf.c
conf.h
doc/chrony.conf.adoc
reference.c
reference.h
test/simulation/110-chronyc
test/simulation/121-local