diff --git a/man/systemd-timedated.service.xml b/man/systemd-timedated.service.xml
index c8d74ddef2..9a37d89a40 100644
--- a/man/systemd-timedated.service.xml
+++ b/man/systemd-timedated.service.xml
@@ -61,13 +61,34 @@
systemd-timedated provides.
+
+ Environment
+
+
+
+ $SYSTEMD_TIMEDATED_NTP_SERVICES
+
+ Colon-separated list of unit names of NTP client services.
+ If not set, then
+ systemd-timesyncd.service8
+ is used. See the entries of NTP related commands of
+ timedatectl1
+ for details about this.
+
+ Example:
+ SYSTEMD_TIMEDATED_NTP_SERVICES=ntpd.service:chronyd.service:systemd-timesyncd.service
+
+
+
+
See Also
systemd1,
timedatectl1,
localtime5,
- hwclock8
+ hwclock8,
+ systemd-timesyncd8
diff --git a/man/timedatectl.xml b/man/timedatectl.xml
index e8d9cb84b9..02b86b6641 100644
--- a/man/timedatectl.xml
+++ b/man/timedatectl.xml
@@ -156,28 +156,11 @@
set-ntp [BOOL]
- Takes a boolean argument. Controls whether
- network time synchronization is active and enabled (if
- available). This enables and starts, or disables and stops the
- systemd-timesyncd.service unit. It does
- not affect the state of any other, unrelated network time
- synchronization services that might be installed on the
- system. This command is hence mostly equivalent to:
- systemctl enable --now
- systemd-timesyncd.service and systemctl
- disable --now systemd-timesyncd.service, but is
- protected by a different access policy.
-
- Note that even if time synchronization is turned off
- with this command, another unrelated system service might
- still synchronize the clock with the network. Also note that,
- strictly speaking,
- systemd-timesyncd.service does more than
- just network time synchronization, as it ensures a monotonic
- clock on systems without RTC even if no network is
- available. See
- systemd-timesyncd.service8
- for details about this.
+ Takes a boolean argument. Controls whether network time synchronization is active
+ and enabled (if available). If the argument is true, this enables and starts the first existed
+ service listed in the environment variable $SYSTEMD_TIMEDATED_NTP_SERVICES
+ of systemd-timedated.service. If the argument is false, then this disables and
+ stops the all services listed in $SYSTEMD_TIMEDATED_NTP_SERVICES.
@@ -197,13 +180,13 @@
Examples
Show current settings:
$ timedatectl
- Local time: Thu 2017-09-21 16:08:56 CEST
- Universal time: Thu 2017-09-21 14:08:56 UTC
- RTC time: Thu 2017-09-21 14:08:56
- Time zone: Europe/Warsaw (CEST, +0200)
- System clock synchronized: yes
-systemd-timesyncd.service active: yes
- RTC in local TZ: no
+ Local time: Thu 2017-09-21 16:08:56 CEST
+ Universal time: Thu 2017-09-21 14:08:56 UTC
+ RTC time: Thu 2017-09-21 14:08:56
+ Time zone: Europe/Warsaw (CEST, +0200)
+System clock synchronized: yes
+ NTP service: active
+ RTC in local TZ: no
Enable network time synchronization: