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]
* [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

Reply via email to