mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-08 21:17:47 +03:00
Revert (partially) "man: Clarify when OnFailure= activates after restarts (#7646)"
This reverts part of commit bd2538b50b
,
specifically changes to the description of service state between auto-restarts.
Fixes #27594
This commit is contained in:
parent
c01f0184b9
commit
2200cf47ce
@ -886,8 +886,7 @@
|
||||
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
|
||||
|
@ -822,8 +822,7 @@
|
||||
<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>
|
||||
|
Loading…
Reference in New Issue
Block a user