monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reset time patch


From: Weedy
Subject: Re: Reset time patch
Date: Fri, 28 Feb 2014 11:04:19 -0500


On 27 Feb 2014 15:36, "Rory Toma" <address@hidden> wrote:
>
> Attached is a patch that will re-init monit if the timestamp of the monit pidfile is older than the uptime of the system and you have sysinfo.
>
> This is useful on embedded systems that may not have a battery backed clock, as when the time is set, the system can jump forward 40 years.

We "fixed" this in OpenWRT with an init script.
https://dev.openwrt.org/browser/trunk/package/base-files/files/etc/init.d/sysfixtime


reply via email to

[Prev in Thread] Current Thread [Next in Thread]