mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-23 00:35:33 +02:00
ntp-ctl: add page (#16482)
This commit is contained in:
parent
6045d1d404
commit
1b269da794
1 changed files with 16 additions and 0 deletions
16
pages/common/ntp-ctl.md
Normal file
16
pages/common/ntp-ctl.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# ntp-ctl
|
||||
|
||||
> Management client for the `ntpd-rs` daemon.
|
||||
> More information: <https://docs.ntpd-rs.pendulum-project.org/man/ntp-ctl.8>.
|
||||
|
||||
- Display information about the current state of the NTP daemon:
|
||||
|
||||
`ntp-ctl status`
|
||||
|
||||
- Check if the specified configuration file (default: `/etc/ntpd-rs/ntp.toml`) is valid:
|
||||
|
||||
`ntp-ctl {{[-c|--config]}} {{path/to/config}} validate`
|
||||
|
||||
- Interactively run a single synchronization of the clock:
|
||||
|
||||
`sudo ntp-ctl force-sync`
|
Loading…
Add table
Reference in a new issue