Hello, I would like to know how to intercept the time change event in systemd.
with journalctl --since="today" I could see that systemd call some services when time is set: Jan 01 01:00:43 beaglebone connmand[128]: ntp: time slew +439068426.471130 s . . . Nov 29 20:27:50 beaglebone systemd[1]: Time has been changed Nov 29 20:27:50 beaglebone systemd[1]: cpu-ondemand.timer: time change, recalculating next elapse. Nov 29 20:27:50 beaglebone systemd[1]: systemd-tmpfiles-clean.timer: time change, recalculating next elapse. Nov 29 20:27:50 beaglebone connmand[128]: connmand[128]: Setting hostname to beaglebone . . . How to add new services on time change ? I would like to set a hardware clock automatically. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
