Re: [chrony-users] Temporarily stop syncing |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Temporarily stop syncing
- From: Jeffrey Kane Johnson <jeff@xxxxxxxxxx>
- Date: Wed, 17 Apr 2024 12:39:33 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mapless.ai; s=google; t=1713371985; x=1713976785; darn=chrony.tuxfamily.org; h=to:in-reply-to:references:message-id:date:subject:mime-version:from :content-transfer-encoding:from:to:cc:subject:date:message-id :reply-to; bh=+hG5fJy2A5tw2D7yc3xD1hOOVY2IvYWDCtBYGjhV2V8=; b=htprc42fuLg64B+Qo+l/AGZiEr6xUnCuMXV5ptOHZChJ/Z+RO0Kadqc/LKuRreRxq+ k4D7XbTEMHfpkScCDcq0DnAYgRrTc1eUSRocgkCGcGArinTdaJPcjg1ldhUTNyHNGLAu GaNNLPfwfS47PS6//N0V1O0nKGDBsn0SDvxqDsKmTH4bkbuAWcNS7gMZoQd60fqf1eb1 TI8bKEt6fS6VS5zw0BejKo9GcYbQ0iNmqG1LWsBC0/omGDCCUvwGCYHYitjtTTXVUgaO kh6RBG9dgDxr9EDFTtREIPXshwMHL5F+aT6csYJepqq00ifNRVZ6TmdKEg01ADGPbHo7 pDJA==
Thanks!
> On Apr 17, 2024, at 12:31, Miroslav Lichvar <mlichvar@xxxxxxxxxx> wrote:
>
> On Wed, Apr 17, 2024 at 11:40:17AM -0400, Jeffrey Kane Johnson wrote:
>> Is there functionality for indicating to chrony that it should temporarily stop syncing? As an example, if I wanted to ensure that the system clock is not altered while another process is running, I could do something like `touch /tmp/stop_chrony.lock` and then chrony will stop syncing until that file is removed.
>
> NTP sources can be switch to offline with the chronyc offline command.
> With chrony >= 4.4 you can add the noselect option to each source (NTP
> server or refclock) with the chronyc selectopts command, which will
> stop updates of the system clock while still polling the sources.
>
> --
> Miroslav Lichvar
>
>
> --
> To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
> with "unsubscribe" in the subject.
> For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
> with "help" in the subject.
> Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.
>
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.