SYSTEMD-TIME-WAIT-SYNC.SERVICE(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