]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: mention that Before= doesn't work for device units
authorLennart Poettering <lennart@poettering.net>
Thu, 16 Jan 2020 15:41:29 +0000 (16:41 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 17 Jan 2020 09:08:13 +0000 (10:08 +0100)
Fixes: #13362
man/systemd.unit.xml

index debb0c0d6c17aa848519889c4e57735bad941668..64830ae72373d362ea52159d939eba6a4d859c54 100644 (file)
         configured by <varname>Requires=</varname>, <varname>Wants=</varname>, <varname>Requisite=</varname>,
         or <varname>BindsTo=</varname>. It is a common pattern to include a unit name in both the
         <varname>After=</varname> and <varname>Wants=</varname> options, in which case the unit listed will
-        be started before the unit that is configured with these options.</para></listitem>
+        be started before the unit that is configured with these options.</para>
+
+        <para>Note that <varname>Before=</varname> dependencies on device units have no effect and are not
+        supported.  Devices generally become available as a result of an external hotplug event, and systemd
+        creates the corresponding device unit without delay.</para></listitem>
       </varlistentry>
 
       <varlistentry>