On Thu, Sep 24, 2015 at 06:18:24PM +0200, Berend De Schouwer wrote: > I'm currently using a cron script to touch a file every 10 minutes, and > read that on bootup (before chronyd), and I've added a > 'Requires=touchClock' to some systemd services. I think you don't need the cron script. If you make the (reasonable?) assumption that files in /var/log are updated regularly then: # find /var/log -type f -print0 | xargs -0 stat -c '%Y %n' /var/log | sort -nr | head -1 (You can omit the %n if you don't care about the actual file that is the newest). Generally, I think your plan is a good one! Would be good for my CubieTruck too. How about trying to get it into systemd upstream? Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top _______________________________________________ arm mailing list arm@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/arm