Failed to enable unit: Unit file chronyd.service does not exist.
因为执行了 systemctl disable chronyd.service
然后再对它执行操作会提示 Failed to enable unit: Unit file chronyd.service does not exist.
原因是 服务被 disable了,所以不能用了。
解决办法:
1. systemctl enable chrony
就可以了
ubuntu不要加d,systemctl status chrony
d是daemon的意思,有些服务不需要加d,看你配置的unit的文件名