mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-02 09:47:03 +03:00
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:
parent
6bc30691b1
commit
2026e39b2d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user