mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-02 12:43:00 +00:00
23 lines
506 B
Plaintext
23 lines
506 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, osx]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# sntpd
|
|
|
|
> An SNTP server.
|
|
> It should not be invoked manually.
|
|
> More information: <https://keith.github.io/xcode-man-pages/sntpd.8.html>.
|
|
|
|
- Start the daemon:
|
|
|
|
`sntpd`
|
|
|
|
- Overwrite existing state with the local clock (stratum 1), for running a master/primary server, without synchronizing with another (higher stratum) server:
|
|
|
|
`sntpd -L`
|
|
|
|
- Use a custom file for the SNTP state:
|
|
|
|
`sntpd -z {{path/to/state.bin}}`
|