Re: Systemd timers and chrony

Krix Rosinski <[email protected]>
Newsgroups gmane.comp.time.chrony.user
Message-ID <CAAUgxQL1mAKHkaRhHJgKRqYEFW2xepL=mRrD9SKNgydnJPh+vw@mail.gmail.com>
Hello all,

Thank you very much for the suggestion, we are going to set this up and
test. I'll report back once we have the solution tested.

Kind regards,
Krzysztof


On Wed, 23 Mar 2022 at 13:37, Miroslav Lichvar <[email protected]> wrote:

> On Wed, Mar 23, 2022 at 03:25:57PM +0300, Andrei Borzenkov wrote:
> > Yes, but without proper systemd dependencies other (timer) units will
> > not wait for it to happen. systemd-timesyncd.service has these
> > dependencies, while chronyd.service not, even if you use -s option.
>
> Good point. So, if you add -s to the chronyd options, you should also
> add {Wants,Before}=time-set.target to the service file.
>
> --
> Miroslav Lichvar
>
>
> --
> To unsubscribe email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org
> with "unsubscribe" in the subject.
> For help email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org
> with "help" in the subject.
> Trouble?  Email [email protected]
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.