Time services: Difference between revisions
From DWIKI
m (→FAQ) |
m (→systemd) |
||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
==systemd== | ==systemd== | ||
systemctl status systemd-timesyncd | |||
timedatectl status | |||
===chrony=== | ===chrony=== | ||
Line 17: | Line 22: | ||
you need to pass a server | you need to pass a server | ||
==Force | ==Force IPv4 only== | ||
In ntpd.service | In ntpd.service | ||
ExecStart=/usr/bin/ntpd -4 -g -u ntp:ntp | ExecStart=/usr/bin/ntpd -4 -g -u ntp:ntp | ||
Or remove the 2.* lines from /etc/systemd/timesyncd.conf | Or remove the 2.* lines from /etc/systemd/timesyncd.conf |
Latest revision as of 14:25, 5 December 2023
Links
Linux implementations
ntpd
ntpdate
systemd
systemctl status systemd-timesyncd
timedatectl status
chrony
timesyncd
FAQ
ntpdate: no servers can be used
you need to pass a server
Force IPv4 only
In ntpd.service
ExecStart=/usr/bin/ntpd -4 -g -u ntp:ntp
Or remove the 2.* lines from /etc/systemd/timesyncd.conf