man: mention that Before= doesn't work for device units

Fixes: #13362
This commit is contained in:
Lennart Poettering 2020-01-16 16:41:29 +01:00
parent 49dd0c161a
commit eec68a1a08
1 changed files with 5 additions and 1 deletions

View File

@ -756,7 +756,11 @@
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>