X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=man%2Fsystemd-time-wait-sync.service.xml;h=685fe74339e999067ac3ed65f34d20ff1efc8bcc;hb=6b222c4b0227f9914446ac54754aea867f742be4;hp=cec6689213b8be9e2e5ef7409d0e4cc9617f1009;hpb=55c36ec0c16b6aa68e0435552c544996e0cbb92a;p=thirdparty%2Fsystemd.git diff --git a/man/systemd-time-wait-sync.service.xml b/man/systemd-time-wait-sync.service.xml index cec6689213b..685fe74339e 100644 --- a/man/systemd-time-wait-sync.service.xml +++ b/man/systemd-time-wait-sync.service.xml @@ -1,42 +1,13 @@ - - - + systemd-time-wait-sync.service systemd - - - - Developer - Peter - Bigot - pab@pabigot.com - - @@ -47,7 +18,7 @@ systemd-time-wait-sync.service systemd-time-wait-sync - Wait Until Kernel Time Synchronized + Wait until kernel time is synchronized @@ -59,24 +30,30 @@ Description systemd-time-wait-sync is a system service that delays the start of units that depend on - time-sync.target until systemd-timesyncd.service or something else has - set the system time and marked it as synchronized. Reaching this state generally requires synchronization with an - external source, such as an NTP server. + time-sync.target until the system time has been synchronized with an accurate time source by + systemd-timesyncd.service. - When this unit is not enabled the time-sync.target synchronization point may be reached - as soon as the system time is advanced by systemd-timesyncd.service to the time stored at the - last shutdown. That time may not meet the expectations of dependent services that require an accurate - clock. + systemd-timesyncd.service notifies on successful synchronization. + systemd-time-wait-sync also tries to detect when the kernel marks the time as synchronized, + but this detection is not reliable and is intended only as a fallback for other services that can be used to + synchronize time (e.g., ntpd, chronyd). - Notes + Files + + + + /run/systemd/timesync/synchronized + + + The presence of this file indicates to this service that the system clock has been synchronized. + + + + - This service works correctly with a time synchronization service like - systemd-timesyncd.service that uses the same protocol as NTP to set the time from a - synchronized source. When used with time synchronization services that follow a different protocol the event of - setting synchronized time may not be detected in which case this service will not complete.