Re: [chrony-users] Delaying postfix until chronyd gets the time

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


On Fri, Apr 21, 2017 at 08:26:31AM -0400, Robert Moskowitz wrote:
> On 04/21/2017 06:21 AM, Miroslav Lichvar wrote:
> > However, you could force chronyd to ignore the RTC by setting
> > rtcdevice to a nonexistent device and always use the driftfile, e.g.
> > 
> > rtcdevice /dev/doesnotexist
> 
> Where do I get the command, rtcdevice?  It is not on my system. Then how do
> I run it?  Do I add an ExecStartPre= to the chronyd.service file?

It should be in chrony.conf. It specifies the path to the RTC device,
which is /dev/rtc by default.

> And do I create a /etc/sysconfig/chronyd with the single line:
> 
> OPTIONS= -s

Yes. If there are multiple options, I think they need to be in double
quotes, e.g. OPTIONS="-s -4".

-- 
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/