![执行什么服务来设置实时时钟](https://linux22.com/image/82197/%E6%89%A7%E8%A1%8C%E4%BB%80%E4%B9%88%E6%9C%8D%E5%8A%A1%E6%9D%A5%E8%AE%BE%E7%BD%AE%E5%AE%9E%E6%97%B6%E6%97%B6%E9%92%9F.png)
我正在寻找在我的系统上设置正确时间的运行服务。有谁知道这是什么服务吗?
答案1
通常这是网络时间协议ntp
(名为 的守护进程)。ntpd
例如:
在 Fedora 中,您可能正在寻找
timedatex.service
与此包相关的:
timedatex is a D-Bus service that implements the org.freedesktop.timedate1
interface. It can be used to read and set the system clock, the real-time clock
(RTC), the system timezone, and enable or disable an NTP client installed on
the system. It is a replacement for the systemd-timedated service.