summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Glasser <glasser@meteor.com>2017-02-08 15:12:36 -0800
committerLennart Poettering <lennart@poettering.net>2017-02-09 00:12:36 +0100
commit2026e39b2d2f9a2951cdf72be53fde1f2dac4c63 (patch)
treebf8ea9312962f8461b2c6989b7ccbc2bb8a71b25
parent6bc30691b109302d386007c6bdabcc27d04991bc (diff)
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.
-rw-r--r--man/systemd.swap.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/man/systemd.swap.xml b/man/systemd.swap.xml
index cf4e1ba839..33349eb0b1 100644
--- a/man/systemd.swap.xml
+++ b/man/systemd.swap.xml
@@ -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