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

2020-11-24 Thread Dave Howorth
On Tue, 24 Nov 2020 21:54:22 +0200
Mantas Mikulėnas  wrote:
> On Tue, Nov 24, 2020, 21:43 An Liu  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?
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


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

2020-11-24 Thread Mantas Mikulėnas
On Tue, Nov 24, 2020, 21:43 An Liu  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


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

2020-11-24 Thread An Liu
HI

timedatectl set-ntp false


what is the diff between this and
systemctl disable ntp

Thanks



>
> should stop and disable it.
>
>
> Kind regards,
>
> Paul
> ___
> systemd-devel mailing list
> systemd-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/systemd-devel
>
-- 
Liu An
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


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

2020-11-24 Thread Paul Menzel

Dear Frank,


Am 24.11.20 um 16:35 schrieb 海阔天空:


I need to turn off the ntp time synchronization in default when power on, how 
to do it?
Should I stop to launch "systems-timesyncd.service" when power on?
It would be appreciated if you could tell me what to do.


Please read the manual systemd-timesyncd(8) (`man 8 systemd-timesyncd`).

   timedatectl set-ntp false

should stop and disable it.


Kind regards,

Paul
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


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

2020-11-24 Thread ????????
Hi all,


I need to turn off the ntp time synchronization in default when power on, how 
to do it?? 
Should I stop to launch "systems-timesyncd.service" when power on??
It would be appreciated if you could tell me what to do.


Thanks


Frank___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel