teknoraver / rpms / systemd

Forked from rpms/systemd 3 months ago
Clone

Blame 0025-man-Fix-reference-to-timer-sync.target-instead-of-ti.patch

Zbigniew Jędrzejewski-Szmek d743bb
From 432c3bd7c14c83306b66b3d3fdd7f834acd1856c Mon Sep 17 00:00:00 2001
Zbigniew Jędrzejewski-Szmek d743bb
From: Philip Withnall <philip@tecnocode.co.uk>
Zbigniew Jędrzejewski-Szmek d743bb
Date: Thu, 20 Apr 2017 11:34:26 +0100
Zbigniew Jędrzejewski-Szmek d743bb
Subject: [PATCH] man: Fix reference to timer-sync.target instead of
Zbigniew Jędrzejewski-Szmek d743bb
 time-sync.target (#5764)
Zbigniew Jędrzejewski-Szmek d743bb
Zbigniew Jędrzejewski-Szmek d743bb
Also fix an erroneous reference to it in the NEWS file, for posterity.
Zbigniew Jędrzejewski-Szmek d743bb
Zbigniew Jędrzejewski-Szmek d743bb
Signed-off-by: Philip Withnall <withnall@endlessm.com>(cherry picked from commit 46ae28d8c3b3c438dd1796b78bbff8f9dc188b31)
Zbigniew Jędrzejewski-Szmek d743bb
---
Zbigniew Jędrzejewski-Szmek d743bb
 NEWS                  | 2 +-
Zbigniew Jędrzejewski-Szmek d743bb
 man/systemd.timer.xml | 2 +-
Zbigniew Jędrzejewski-Szmek d743bb
 2 files changed, 2 insertions(+), 2 deletions(-)
Zbigniew Jędrzejewski-Szmek d743bb
Zbigniew Jędrzejewski-Szmek d743bb
diff --git a/NEWS b/NEWS
Zbigniew Jędrzejewski-Szmek d743bb
index da9e203832..05822a2cdc 100644
Zbigniew Jędrzejewski-Szmek d743bb
--- a/NEWS
Zbigniew Jędrzejewski-Szmek d743bb
+++ b/NEWS
Zbigniew Jędrzejewski-Szmek d743bb
@@ -3315,7 +3315,7 @@ CHANGES WITH 216:
Zbigniew Jędrzejewski-Szmek d743bb
           like Cockpit which register web clients as PAM sessions.
Zbigniew Jędrzejewski-Szmek d743bb
 
Zbigniew Jędrzejewski-Szmek d743bb
         * timer units with at least one OnCalendar= setting will now
Zbigniew Jędrzejewski-Szmek d743bb
-          be started only after timer-sync.target has been
Zbigniew Jędrzejewski-Szmek d743bb
+          be started only after time-sync.target has been
Zbigniew Jędrzejewski-Szmek d743bb
           reached. This way they will not elapse before the system
Zbigniew Jędrzejewski-Szmek d743bb
           clock has been corrected by a local NTP client or
Zbigniew Jędrzejewski-Szmek d743bb
           similar. This is particular useful on RTC-less embedded
Zbigniew Jędrzejewski-Szmek d743bb
diff --git a/man/systemd.timer.xml b/man/systemd.timer.xml
Zbigniew Jędrzejewski-Szmek d743bb
index 4fe140e4bc..7102d626e1 100644
Zbigniew Jędrzejewski-Szmek d743bb
--- a/man/systemd.timer.xml
Zbigniew Jędrzejewski-Szmek d743bb
+++ b/man/systemd.timer.xml
Zbigniew Jędrzejewski-Szmek d743bb
@@ -93,7 +93,7 @@
Zbigniew Jędrzejewski-Szmek d743bb
     on <filename>timers.target</filename>, as well as <varname>Conflicts=</varname> and <varname>Before=</varname> on
Zbigniew Jędrzejewski-Szmek d743bb
     <filename>shutdown.target</filename> to ensure that they are stopped cleanly prior to system shutdown.  Timer units
Zbigniew Jędrzejewski-Szmek d743bb
     with at least one <varname>OnCalendar=</varname> directive will have an additional <varname>After=</varname>
Zbigniew Jędrzejewski-Szmek d743bb
-    dependency on <filename>timer-sync.target</filename> to avoid being started before the system clock has been
Zbigniew Jędrzejewski-Szmek d743bb
+    dependency on <filename>time-sync.target</filename> to avoid being started before the system clock has been
Zbigniew Jędrzejewski-Szmek d743bb
     correctly set. Only timer units involved with early boot or late system shutdown should disable the
Zbigniew Jędrzejewski-Szmek d743bb
     <varname>DefaultDependencies=</varname> option.</para>
Zbigniew Jędrzejewski-Szmek d743bb
   </refsect1>