SYSTEMD-TIME-WAIT-SYNC(8)

๐Ÿ’– NAME ๐Ÿ’–

systemd-time-wait-sync.service, systemd-time-wait-sync โ€” bestie, this one just sits there and waits until the kernel's clock is actually synced. no cap.


โœจ SYNOPSIS โœจ

systemd-time-wait-sync.service
/usr/lib/systemd/systemd-time-wait-sync

๐Ÿ•ฐ๏ธ DESCRIPTION ๐Ÿ•ฐ๏ธ

okay so picture this: systemd-time-wait-sync is a system service whose whole entire job is delaying the start of units that are ordered after time-sync.target (peep systemd.special(7) for the deets on that one) until the system time has been synced up with an accurate remote reference time source by systemd-timesyncd.service. it's giving "we are NOT starting until the clock is correct." main character energy fr. ๐Ÿ’…

systemd-timesyncd.service is the one that notifies systemd-time-wait-sync that synchronization went off successfully. slay.

systemd-time-wait-sync also tries to detect when the kernel marks the system clock as synchronized, but lowkey?? that detection is not reliable ๐Ÿ˜ญ and it's only intended as a fallback, purely for compatibility with alternative NTP services that can be used to sync time โ€” think ntpd, chronyd, that whole friend group. so it's the understudy, not the lead. ๐ŸŽ€


๐Ÿ“ FILES ๐Ÿ“

  • /run/systemd/timesync/synchronized โ€” bestie, if this file exists, it's telling this service that the system clock has been synchronized. its presence is literally the signal. iconic. โœจ
Added in version 239.

๐Ÿ‘€ SEE ALSO ๐Ÿ‘€


and that's the whole page, bestie โ€” go forth and let your clock sync before you start anything, iykyk ๐Ÿฆ‹

this lil rewrite rode in with systemd 262.1 โ€” version vibes only, no date on the tin ๐ŸŒธ stay synced, love u, bye ๐Ÿ’œ

๐Ÿ“ฆ where this page comes from
  • arch rolling: systemd 262.1-1 ยท LGPL-2.1-or-later AND CC0-1.0 AND GPL-2.0-or-later AND MIT-0
  • ๐Ÿ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms