Re: systemd-timesyncd
On Mon, 8 Jan 2024 10:02:25 +0700
Max Nikulin <manikulin@gmail.com> wrote:
> Isn't it /etc/systemd/timesyncd.conf, not /etc/systemd/timesyncd? It
> might be a reason why systemd-timesyncd did not follow configuration.
It is indeed /etc/systemd/timesyncd.conf. However, there is also
/etc/systemd/timesyncd.conf.d/, so one may drop local configurations
into place without mucking in timesyncd.conf.
Since systemd-timesyncd provides /etc/systemd/timesyncd.conf, changes
to it will likely be overwritten on the next upgrade to
systemd-timesyncd.
I have:
root@jhegaala:~# ls /etc/systemd/timesyncd.conf.d/
50localTimeServers.conf
root@jhegaala:~# cat /etc/systemd/timesyncd.conf.d/50localTimeServers.conf
[Time]
NTP=192.168.100.12 192.168.100.6
# File of local time servers provided via DHCP and 60ntp.
root@jhegaala:~#
60ntp is my own script which picks up time servers from DHCP
information and which is run by Network Manager. This machine is a
laptop.
--
Does anybody read signatures any more?
https://charlescurley.com
https://charlescurley.com/blog/
Reply to: