systemd-time-wait-sync.service
systemd
Developer
Peter
Bigot
pab@pabigot.com
systemd-time-wait-sync.service
8
systemd-time-wait-sync.service
systemd-time-wait-sync
Wait Until Kernel Time Synchronized
systemd-time-wait-sync.service
/usr/lib/systemd/systemd-time-wait-sync
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.
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.
Notes
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.
See Also
systemd1,
systemd.special7,
systemd-timesyncd.service8,