I need to be able to start a service only after time synchronization has occurred. I implemented this as a systemd target with ntpd and ntp-wait but I can't find an equivalent for timesyncd. I found a couple references to this problem but didn't find them helpful:
* [Patch from 2014] https://lists.freedesktop.org/archives/systemd-devel/2014-November/025131.html * [Github Bug 5097] https://github.com/systemd/systemd/issues/5097 Worst case I guess I could grep the output of timedatectl for "NTP synchronized" but since that tool knows the state of synchronization It would seem this information must be available in a more programmatic way. Any help would be greatly appreciated. Also, if a solution is found how can I submit changes to the documentation? The systemd-timesyncd.service man page is pretty weak.
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel