From 1b269da794ce12b59086da784d6bb1765964d930 Mon Sep 17 00:00:00 2001 From: Lena <126529524+acuteenvy@users.noreply.github.com> Date: Mon, 19 May 2025 11:49:47 +0000 Subject: [PATCH] ntp-ctl: add page (#16482) --- pages/common/ntp-ctl.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pages/common/ntp-ctl.md diff --git a/pages/common/ntp-ctl.md b/pages/common/ntp-ctl.md new file mode 100644 index 0000000000..394287b5b2 --- /dev/null +++ b/pages/common/ntp-ctl.md @@ -0,0 +1,16 @@ +# ntp-ctl + +> Management client for the `ntpd-rs` daemon. +> More information: . + +- 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`