Back to search

chrony.conf

config time

Chrony NTP client/server configuration

/etc/chrony/chrony.conf

Required Packages

sudo apt install -y chrony

NTP Server Settings

NTP server or pool address (e.g. pool.ntp.org, ntp.nict.jp)

Additional NTP source for redundancy

Additional NTP source for redundancy

Send burst of requests on startup for faster initial sync

Other Options

Allow large time corrections (threshold_seconds max_count)

Periodically sync system time to the hardware (RTC) clock

Path to chrony authentication key file

Allow this network to use this server as NTP source

Serve time locally when not synced (local stratum level)

Generated Config — /etc/chrony/chrony.conf

# Chrony NTP configuration # Generated by Linux Build Assistant pool pool.ntp.org iburst # Allow large time corrections at startup makestep 1.0 3 # Sync system time to hardware clock rtcsync # Record the rate at which the system clock gains/losses time driftfile /var/lib/chrony/drift # Log files location logdir /var/log/chrony