--------------------------------
vi /etc/ntp.conf
加入
server tock.stdtime.gov.tw
server time.stdtime.gov.tw
server watch.stdtime.gov.tw
預設加#刪除
#server 0.centos.pool.ntp.org iburst
#server 1.centos.pool.ntp.org iburst
#server 2.centos.pool.ntp.org iburst
#server 3.centos.pool.ntp.org iburst
--------------------------------
systemctl start ntpd
systemctl enable ntpd
hwclock –w
ntpstat測試沒問題~

但重開機後,用ntpstat測試~

ntpd服務就是沒起來
得再下一次command
systemctl start ntpd
才可成功~
但之前明明已經systemctl enable ntpd,設成開機啟動了
只要重開機,ntpd服務就是起不來,
這有解嗎?