Re: Systemd timers and chrony
Miroslav Lichvar <[email protected]>
| Newsgroups | gmane.comp.time.chrony.user |
|---|---|
| Message-ID | <YjsUXQWUsUcJyC12@localhost> |
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]