Re: [chrony-users] Systemd timers and chrony |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Systemd timers and chrony
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Wed, 23 Mar 2022 13:36:45 +0100
- Authentication-results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=mlichvar@xxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1648039008; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=HHoOuBUY4RXdCBa5GjTWKh3dzPr73Ri6YWyidH56XVA=; b=NMH9GwKvm/QtKqiIBkYiD5ttCNHXiDcPv9CqZvLhp0i6PJYjPX2smuFMKPZh9l5LoVaYmw ysVf7jKF8Cwm/4W6M57U4sQ+Wqrmwevd+rvvIwrUYEN/1b49lZeUU9Qt4LD+K95ITMyDgi ykGlu7qKMD6vArF9lzArpt8KwMUnA9o=
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.