]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: use 'weak' and 'strong' for explaining difference between Wants= + Requires=
authorLennart Poettering <lennart@poettering.net>
Mon, 28 Dec 2020 12:23:37 +0000 (13:23 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 4 Jan 2021 15:48:51 +0000 (16:48 +0100)
A minor tweak, that hopefully makes things a bit clearer, given that we
previously used "requirement dependency" when referring to Wants=, which
might be confusing given that we have Requires=

man/systemd.unit.xml

index 2fdc0d583230311ecbd27ea845565e480b14faab..cc9eedd60b2506602d19f8fa761c263e5c9ceb64 100644 (file)
       <varlistentry>
         <term><varname>Wants=</varname></term>
 
-        <listitem><para>Configures requirement dependencies on other units. This option may be specified more
-        than once or multiple space-separated units may be specified in one option in which case dependencies
-        for all listed names will be created. Dependencies of this type may also be configured outside of the
-        unit configuration file by adding a symlink to a <filename>.wants/</filename> directory accompanying
-        the unit file. For details, see above.</para>
+        <listitem><para>Configures (weak) requirement dependencies on other units. This option may be
+        specified more than once or multiple space-separated units may be specified in one option in which
+        case dependencies for all listed names will be created. Dependencies of this type may also be
+        configured outside of the unit configuration file by adding a symlink to a
+        <filename>.wants/</filename> directory accompanying the unit file. For details, see above.</para>
 
         <para>Units listed in this option will be started if the configuring unit is. However, if the listed
         units fail to start or cannot be added to the transaction, this has no impact on the validity of the
       <varlistentry>
         <term><varname>Requires=</varname></term>
 
-        <listitem><para>Similar to <varname>Wants=</varname>, but declares a stronger
+        <listitem><para>Similar to <varname>Wants=</varname>, but declares a stronger requirement
         dependency. Dependencies of this type may also be configured by adding a symlink to a
         <filename>.requires/</filename> directory accompanying the unit file.</para>