]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: fix docs for swap's DefaultDependencies= (#5278)
authorDavid Glasser <glasser@meteor.com>
Wed, 8 Feb 2017 23:12:36 +0000 (15:12 -0800)
committerLennart Poettering <lennart@poettering.net>
Wed, 8 Feb 2017 23:12:36 +0000 (00:12 +0100)
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.

man/systemd.swap.xml

index cf4e1ba8398584ef1c9f7e2fc390a914729104e3..33349eb0b1bf2a4ad4eb1e2032ce4c31fe91ac02 100644 (file)
     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