]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: apply @Minoru's suggestions from code review 18048/head
authorLennart Poettering <lennart@poettering.net>
Mon, 28 Dec 2020 09:43:10 +0000 (10:43 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 28 Dec 2020 09:53:20 +0000 (10:53 +0100)
Co-authored-by: Alexander Batischev <eual.jp@gmail.com>
man/systemd-timesyncd.service.xml
man/systemd.special.xml

index fcd731fd6f5343c6ef9d7b421ac195145c771449..9ab4af9763bef47b5d48aa443ec96b2a3d7278f9 100644 (file)
@@ -59,9 +59,8 @@
     after <filename>time-set.target</filename> (see
     <citerefentry><refentrytitle>systemd.special</refentrytitle><manvolnum>7</manvolnum></citerefentry> for
     details) until the local time has been updated from <filename>/var/lib/systemd/timesync/clock</filename>
-    (see below) in order to make it roughly monotonic (see above), should this be necessary — for example
-    because no RTC device is available. It does not delay other units until synchronization with an accurate
-    reference time sources has been reached. Use
+    (see below) in order to make it roughly monotonic. It does not delay other units until synchronization
+    with an accurate reference time sources has been reached. Use
     <citerefentry><refentrytitle>systemd-time-wait-sync.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>
     to achieve that, which will delay start of units that are ordered after
     <filename>time-sync.target</filename> until synchronization to an accurate reference clock is
index 8a98fa4c0f821e07b7bb1b929662255325621077..e731c9ced26ac8863e97b3d0f4b09de278bb6eb3 100644 (file)
             <citerefentry><refentrytitle>systemd-timesyncd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>
             service is a simple daemon that pulls in this target and orders itself before it. Besides
             implementing the SNTP network protocol it maintains a timestamp file on disk whose modification
-            time is regularlary updated. At service start-up the local system clock is updated accordingly,
+            time is regularlary updated. At service start-up the local system clock is set from that modification time,
             ensuring it increases roughly monotonically.</para>
 
             <para>Note that ordering a unit after <filename>time-set.target</filename> only has effect if
             monotonicity. Otherwise, this target might get reached before the clock is adjusted to be roughly
             monotonic. Enable
             <citerefentry><refentrytitle>systemd-timesyncd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
-            to achieve that — or an alternative NTP implementation.</para>
+            or an alternative NTP implementation to delay the target.</para>
           </listitem>
         </varlistentry>
         <varlistentry>
             <varname>OnCalendar=</varname> directive.</para>
 
             <para>This target provides stricter clock accuracy guarantees than
-            <filename>time-set.target</filename> (see above), but likely relies on possibly unreliable
-            network communication and thus might introduce possibly substantial activation delays for
-            services ordered after this target. Services that require clock accuracy and where network
+            <filename>time-set.target</filename> (see above), but likely requires
+            network communication and thus introduces unpredictable delays.
+            Services that require clock accuracy and where network
             communication delays are acceptable should use this target. Services that require a less accurate
             clock, and only approximate and roughly monotonic clock behaviour should use
             <filename>time-set.target</filename> instead.</para>
             <citerefentry><refentrytitle>systemd-timesyncd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
             enable
             <citerefentry><refentrytitle>systemd-time-wait-sync.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>
-            to achieve that; or use an equivalent service for other NTP implementations.</para>
+            to delay the target; or use an equivalent service for other NTP implementations.</para>
 
             <table>
               <title>Comparison</title>