From 2026e39b2d2f9a2951cdf72be53fde1f2dac4c63 Mon Sep 17 00:00:00 2001 From: David Glasser Date: Wed, 8 Feb 2017 15:12:36 -0800 Subject: [PATCH] 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. --- man/systemd.swap.xml | 8 ++++---- 1 file 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. - Swap units with DefaultDependencies= in the [Unit] section enabled - implicitly acquire a Conflicts= and an After= dependency on - umount.target so that they are deactivated at shutdown, unless - DefaultDependencies=no is specified. + Swap units with DefaultDependencies= set to its default value in the + [Unit] section enabled implicitly acquire a Conflicts= and a + Before= dependency on umount.target so that they are deactivated at + shutdown as well as a Before=swap.target dependency. Additional implicit dependencies may be added as result of execution and resource control parameters as documented in