systemd-timesyncd.service
man 5 timesyncd.conf
man 8 systemd-timesyncd.service
# /etc/systemd/timesyncd.conf
[Time]
NTP=time.windows.com ntp.ubuntu.com
FallbackNTP=ntp1.aliyun.com ntp2.aliyun.com
RootDistanceMaxSec=5
PollIntervalMinSec=32
PollIntervalMaxSec=2048
ConnectionRetrySec=1
timedatectl set-ntp true # 会启用 systemd-timesyncd.service
timedatectl set-ntp false # 会禁用 systemd-timesyncd.service
timedatectl show
timedatectl status
timedatectl timesync-status -a
timedatectl show-timesync -a
systemd-timesyncd - ArchWiki (archlinux.org)