SNTPD(8) System Manager's Manual SNTPD(8)

sntpdvery Simple Network Time Protocol server daemon

launchctl enable system/com.apple.sntpd


sntpd [-L] [-z state_file]

sntpd is an SNTP server daemon, which can provide time synchronization services to clients such as timed(8).

The following options are available:

Overwrite any existing state with a header describing a stratum 1 uncalibrated local clock. This is useful for starting a root (primary) server that doesn't use sntp(1) to synchronize with a higher stratum server.
state_file
Specify where to get the header data from.

When unspecified, the default location is state.bin in the current working directory. When managed by launchd, the default system location is /var/sntpd/state.bin.

If the file does not exist, it will be created and populated with a template indicating that the server is unsynchronized.

/var/sntpd/state.bin
SNTP header data
/System/Library/LaunchDaemons/com.apple.sntpd.plist
launchd job

launchctl(1), sntp(1), clock_gettime(3), timed(8)

sntpd first appeared in macOS 11.1

October 16, 2020 Darwin