Re: [chrony-users] Systemd timers and chrony

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


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/