Re: [chrony-users] Systemd timers and chrony

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


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 <mlichvar@xxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/