]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Revert (partially) "man: Clarify when OnFailure= activates after restarts (#7646)"
authorMike Yuan <me@yhndnzj.com>
Wed, 17 May 2023 15:47:53 +0000 (23:47 +0800)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 18 May 2023 06:10:26 +0000 (15:10 +0900)
This reverts part of commit bd2538b50ba283c9ce39142d5d16d90184a55b90,
specifically changes to the description of service state between auto-restarts.

Fixes #27594

man/systemd.service.xml
man/systemd.unit.xml

index ba4f4275821872450d6fea64243b7ee203a73f5e..38bb5b7c22596424126cc71b8fd1a4da4185da7c 100644 (file)
         limiting configured with <varname>StartLimitIntervalSec=</varname>
         and <varname>StartLimitBurst=</varname>, see
         <citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry>
-        for details.  A restarted service enters the failed state only
-        after the start limits are reached.</para>
+        for details.</para>
 
         <para>Setting this to <option>on-failure</option> is the
         recommended choice for long-running services, in order to
index e28bfe845e6cc4971fde7ba68960018592541442..d603ec9744469fc5aba137d33145bc512a1e02d3 100644 (file)
         <term><varname>OnFailure=</varname></term>
 
         <listitem><para>A space-separated list of one or more units that are activated when this unit enters
-        the <literal>failed</literal> state.  A service unit using <varname>Restart=</varname> enters the
-        failed state only after the start limits are reached.</para></listitem>
+        the <literal>failed</literal> state.</para></listitem>
       </varlistentry>
 
       <varlistentry>