在我的 yocto 发行版中启用了该服务systemd-timesyncd.service
。其配置文件(timesyncd.conf
)如下:
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See timesyncd.conf(5) for details.
[Time]
#NTP=
#FallbackNTP=time1.google.com time2.google.com time3.google.com time4.google.com
#RootDistanceMaxSec=5
#PollIntervalMinSec=32
#PollIntervalMaxSec=2048
如您所见,NTP
未设置配置文件的选项。尽管如此,服务设置了系统日期,并且通过一些登录journalctl
,我看到 NTP 服务器可能是time1.google.com
.
我的问题是:NTP 服务器在哪里设置systemd-timesyncd
?
谢谢