1
0
mirror of https://github.com/systemd/systemd.git synced 2025-02-02 13:47:27 +03:00

man: explicitly mention that Requires propagates restarts

It's implicit, but the actions are different, so let's be explicit to
avoid any confusion.
This commit is contained in:
Luca Boccassi 2022-02-03 14:48:27 +00:00
parent f83da717d9
commit cbfa043149

View File

@ -630,8 +630,8 @@
<para>If this unit gets activated, the units listed will be activated as well. If one of <para>If this unit gets activated, the units listed will be activated as well. If one of
the other units fails to activate, and an ordering dependency <varname>After=</varname> on the the other units fails to activate, and an ordering dependency <varname>After=</varname> on the
failing unit is set, this unit will not be started. Besides, with or without specifying failing unit is set, this unit will not be started. Besides, with or without specifying
<varname>After=</varname>, this unit will be stopped if one of the other units is explicitly <varname>After=</varname>, this unit will be stopped (or restarted) if one of the other units is
stopped.</para> explicitly stopped (or restarted).</para>
<para>Often, it is a better choice to use <varname>Wants=</varname> instead of <para>Often, it is a better choice to use <varname>Wants=</varname> instead of
<varname>Requires=</varname> in order to achieve a system that is more robust when dealing with <varname>Requires=</varname> in order to achieve a system that is more robust when dealing with