On Tue, Nov 24, 2020, 21:43 An Liu <sourceo...@gmail.com> wrote:

> HI
>
>     timedatectl set-ntp false
>
>
> what is the diff between this and
> systemctl disable ntp
>

The timedatectl command controls only systemd's own NTP client
(systemd-timesyncd.service). It doesn't care about other NTP clients such
as ntp.service or chrony.service.

Other than that, there is not much difference – they both just
enable/disable services.
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to