More than 5 years have passed since last update.
きっかけ
今まで ntpdate を使っていたが、deprecate になっていた。
sntp を使うようにとあったが、systemdで提供があった。
設定
- /etc/systemd/timesyncd.conf
/etc/systemd/timesyncd.conf
[Time]
NTP=ntp.nict.jp
FallbackNTP=ntp1.jst.mfeed.ad.jp ntp2.jst.mfeed.ad.jp ntp3.jst.mfeed.ad.jp
サービスのリスタート
systemctl restart systemd-timesyncd
systemctl status systemd-timesyncd
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
