Thanks, it became clear On Wed, Oct 1, 2025 at 11:10 AM Mantas Mikulėnas <[email protected]> wrote:
> On Wed, Oct 1, 2025 at 6:56 AM Alipour Alipour <[email protected]> > wrote: > >> Hi, >> >> Is there a config file to control (enable/disable) the `timedatectl` NTP >> service status without using the `timedatectl set-ntp` command line? >> >> I.e. where does `timedatectl` save its NTP service status when you use >> the `timedatectl set-ntp` command? Or is it just in memory and is reset >> between reboots? >> > > Timedatectl doesn't have an *internal* NTP service – it directly controls > the enable status of the "systemd-timesyncd.service" unit, which is then > stored as a symlink in /etc/systemd/system/multi-user.target.wants/ (as > "systemctl enable <unit>" shows). > > (On some distributions it could control some other NTP client, like > chrony.service or ntp.service – see the last section of "man > systemd-timedated" for where the actual name is defined.) > >
