man: fix docs for swap's DefaultDependencies= (#5278)

There was a missing dependency and one with the wrong type. Additionally, refer
to DefaultDependencies= once instead of twice, without a vague reference in the
first one that doesn't mention that the value matters.

Fixes #5226.
This commit is contained in:
David Glasser 2017-02-08 15:12:36 -08:00 committed by Lennart Poettering
parent 6bc30691b1
commit 2026e39b2d
1 changed files with 4 additions and 4 deletions

View File

@ -94,10 +94,10 @@
dependencies on the device units or the mount units of the files
they are activated from.</para>
<para>Swap units with <varname>DefaultDependencies=</varname> in the <literal>[Unit]</literal> section enabled
implicitly acquire a <varname>Conflicts=</varname> and an <varname>After=</varname> dependency on
<filename>umount.target</filename> so that they are deactivated at shutdown, unless
<varname>DefaultDependencies=no</varname> is specified.</para>
<para>Swap units with <varname>DefaultDependencies=</varname> set to its default <option>yes</option> value in the
<literal>[Unit]</literal> section enabled implicitly acquire a <varname>Conflicts=</varname> and a
<varname>Before=</varname> dependency on <filename>umount.target</filename> so that they are deactivated at
shutdown as well as a <varname>Before=swap.target</varname> dependency.</para>
<para>Additional implicit dependencies may be added as result of
execution and resource control parameters as documented in