]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: recommend After= with Requisite=
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 22 May 2018 10:19:27 +0000 (12:19 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 29 May 2018 16:52:45 +0000 (18:52 +0200)
Fixes #8309.

man/systemd.unit.xml

index b6f4728b0098df3d87adedb91ce0c116be32bf77..14dd4b069498aaebe90d00975d8772223f56e21a 100644 (file)
       <varlistentry>
         <term><varname>Requisite=</varname></term>
 
-        <listitem><para>Similar to <varname>Requires=</varname>.
-        However, if the units listed here are not started already,
-        they will not be started and the transaction will fail
-        immediately.</para>
+        <listitem><para>Similar to <varname>Requires=</varname>. However, if the units listed here
+        are not started already, they will not be started and the starting of this unit will fail
+        immediately. <varname>Requisite=</varname> does not imply an ordering dependency, even if
+        both units are started in the same transaction. Hence this setting should usually be
+        combined with <varname>After=</varname>, to ensure this unit is not started before the other
+        unit.</para>
 
         <para>When <varname>Requisite=b.service</varname> is used on
         <filename>a.service</filename>, this dependency will show as