[systemd-devel] How to turn off the ntp time synchronization in default when power on

Dave Howorth systemd at howorth.org.uk
Tue Nov 24 21:54:27 UTC 2020


On Tue, 24 Nov 2020 21:54:22 +0200
Mantas Mikulėnas <grawity at gmail.com> wrote:
> On Tue, Nov 24, 2020, 21:43 An Liu <sourceonly at 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.

The man page says that timedatectl also stops the service if running?


More information about the systemd-devel mailing list