19.11. 禁用 chrony
要使用 ntpd
默认用户空间守护进程,必须停止并禁用 chronyd
。以 root
用户身份运行以下命令:
systemctl stop chronyd
~]# systemctl stop chronyd
要防止它在系统启动时重启,以 root
用户身份运行以下命令:
systemctl disable chronyd
~]# systemctl disable chronyd
运行以下命令检查 chronyd
的状态:
systemctl status chronyd
~]$ systemctl status chronyd