]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: describe ordering in case of Conflicts= 13962/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 6 Nov 2019 12:42:13 +0000 (13:42 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 8 Nov 2019 09:17:27 +0000 (10:17 +0100)
Fixes #13421.

man/systemd.unit.xml

index 1670992fedaa5975c669dd7d8f4a59e4fbab7ded..96907d7a2f5621698496fea5b9e300e9f17b05b8 100644 (file)
       <varlistentry>
         <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. Note
-        that this setting is independent of and orthogonal to the
-        <varname>After=</varname> and <varname>Before=</varname>
-        ordering dependencies.</para>
+        <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>
+
+        <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
+        that to ensure that the conflicting unit is stopped before the other unit is started, an
+        <varname>After=</varname> or <varname>Before=</varname> dependency must be declared. It doesn't
+        matter which of the two ordering dependencies is used, because stop jobs are always ordered before
+        start jobs, see the discussion in <varname>Before=</varname>/<varname>After=</varname> below.</para>
 
         <para>If unit A that conflicts with unit B is scheduled to
         be started at the same time as B, the transaction will either