aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-04-08 19:00:00 +0200
committerLennart Poettering <lennart@poettering.net>2016-04-12 13:43:33 +0200
commitcc4e4df49fe38e076c74b652f7e01b6c54004cab (patch)
treeb9b9a6dc01e693f2acb9254c21736e713a430489 /man/systemd.swap.xml
parenttests: override XDG_RUNTIME_DIR where we use the user runtime dir (diff)
downloadsystemd-cc4e4df49fe38e076c74b652f7e01b6c54004cab.tar.gz
systemd-cc4e4df49fe38e076c74b652f7e01b6c54004cab.tar.bz2
systemd-cc4e4df49fe38e076c74b652f7e01b6c54004cab.zip
man: clarify that DefaultDependencies= is in the [Unit] section
This hopefully reduces confusion resulting in issues like #2992.
Diffstat (limited to 'man/systemd.swap.xml')
-rw-r--r--man/systemd.swap.xml10
1 files changed, 4 insertions, 6 deletions
diff --git a/man/systemd.swap.xml b/man/systemd.swap.xml
index 69d4be476..6fc4c7bf1 100644
--- a/man/systemd.swap.xml
+++ b/man/systemd.swap.xml
@@ -95,12 +95,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>
- 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> 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>Additional implicit dependencies may be added as result of
execution and resource control parameters as documented in