1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-14 04:58:28 +03:00

Clarify that Conflicts= only applies when starting units

The "vice versa" in the old text could be interpreted as either
(wrong) "stopping the former will start the latter", or
(right) "starting the latter will stop the former".

Rephrase to avoid that ambiguity.
This commit is contained in:
Andrew Sayers 2025-01-23 08:06:57 +00:00 committed by Yu Watanabe
parent 90cf374e45
commit e5038e63e9

View File

@ -783,8 +783,8 @@
<term><varname>Conflicts=</varname></term>
<listitem><para>A space-separated list of unit names. Configures negative requirement
dependencies. If a unit has a <varname>Conflicts=</varname> setting on another unit, starting the
former will stop the latter and vice versa.</para>
dependencies. If a unit has a <varname>Conflicts=</varname> requirement on a set of other units,
then starting it will stop all of them and starting any of them will stop it.</para>
<para>Note that this setting does not imply an ordering dependency, similarly to the
<varname>Wants=</varname> and <varname>Requires=</varname> dependencies described above. This means