mirror of
https://github.com/systemd/systemd
synced 2024-09-06 08:46:19 +00:00
man: use 'weak' and 'strong' for explaining difference between Wants= + Requires=
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=
This commit is contained in:
parent
63d9fe0f6d
commit
c024f320ff
|
@ -596,11 +596,11 @@
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><varname>Wants=</varname></term>
|
<term><varname>Wants=</varname></term>
|
||||||
|
|
||||||
<listitem><para>Configures requirement dependencies on other units. This option may be specified more
|
<listitem><para>Configures (weak) requirement dependencies on other units. This option may be
|
||||||
than once or multiple space-separated units may be specified in one option in which case dependencies
|
specified more than once or multiple space-separated units may be specified in one option in which
|
||||||
for all listed names will be created. Dependencies of this type may also be configured outside of the
|
case dependencies for all listed names will be created. Dependencies of this type may also be
|
||||||
unit configuration file by adding a symlink to a <filename>.wants/</filename> directory accompanying
|
configured outside of the unit configuration file by adding a symlink to a
|
||||||
the unit file. For details, see above.</para>
|
<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
|
<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
|
units fail to start or cannot be added to the transaction, this has no impact on the validity of the
|
||||||
|
@ -619,7 +619,7 @@
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><varname>Requires=</varname></term>
|
<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
|
dependency. Dependencies of this type may also be configured by adding a symlink to a
|
||||||
<filename>.requires/</filename> directory accompanying the unit file.</para>
|
<filename>.requires/</filename> directory accompanying the unit file.</para>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue