# Mountaineer chrony: NTP client pointing at the public pool with iburst.
# Operators with an organizational time source replace the pool line with
# their NTP server(s) — that override goes in
# /etc/chrony/chrony.conf.d/* if Alpine's chrony build supports a drop-in,
# or by editing this file directly otherwise (TODO-verify on Alpine).

pool 2.pool.ntp.org iburst maxsources 4

# Initial step: allow large clock corrections at startup, only once.
# After the initial sync, chrony slews the clock smoothly.
initstepslew 30 2.pool.ntp.org

# Drift file lives on persistent storage so re-sync after reboot is faster.
driftfile /var/lib/chrony/drift

# Allow the system clock to be stepped if the offset exceeds 1 second
# during the first three updates only. Production-shaped: a clock that
# slews continuously is more honest than one that jumps.
makestep 1.0 3

# Enable kernel synchronization of the real-time clock.
rtcsync

# Use only authenticated NTP if a key file exists. By default no NTS or
# symmetric keys are configured; operators who need them add the relevant
# server/key lines themselves.

# Log level: terse. Sync events of interest land in /var/log/chrony/.
logdir /var/log/chrony

# Refuse to act as a server.
port 0
cmdport 0
