summaryrefslogtreecommitdiff
path: root/man/systemd.path.xml
diff options
context:
space:
mode:
authorJohn Lin <johnlinp@gmail.com>2017-09-12 12:02:27 +0800
committerJohn Lin <johnlinp@gmail.com>2017-09-13 11:39:09 +0800
commit45f09f939b50387d65ab6fc46f47608523a6ef19 (patch)
tree5f59d953c2a4947701a7a8c55d8f5531fe4c0f07 /man/systemd.path.xml
parentbbe0b4a8d5e84ac28689ba4b6f817524375622c3 (diff)
downloadsystemd-45f09f939b50387d65ab6fc46f47608523a6ef19.tar.gz
man: explicitly distinguish "implicit dependencies" and "default dependencies"
Fixes: #6793
Diffstat (limited to 'man/systemd.path.xml')
-rw-r--r--man/systemd.path.xml47
1 files changed, 30 insertions, 17 deletions
diff --git a/man/systemd.path.xml b/man/systemd.path.xml
index 7200c8fe27..9e8f2c66c1 100644
--- a/man/systemd.path.xml
+++ b/man/systemd.path.xml
@@ -82,23 +82,36 @@
</refsect1>
<refsect1>
- <title>Automatic Dependencies</title>
-
- <para>If a path unit is beneath another mount unit in the file
- system hierarchy, both a requirement and an ordering dependency
- between both units are created automatically.</para>
-
- <para>An implicit <varname>Before=</varname> dependency is added
- between a path unit and the unit it is supposed to activate.</para>
-
- <para>Unless <varname>DefaultDependencies=false</varname> in the <literal>[Unit]</literal> section is used, path
- units will implicitly have dependencies of type <varname>Before=</varname> on <filename>paths.target</filename>,
- dependencies of type <varname>After=</varname> and <varname>Requires=</varname> on
- <filename>sysinit.target</filename>, and have dependencies of type <varname>Conflicts=</varname> and
- <varname>Before=</varname> on <filename>shutdown.target</filename>. These ensure that path units are terminated
- cleanly prior to system shutdown. Only path units involved with early boot or late system shutdown should disable
- this option.
- </para>
+ <title>Implicit Dependencies</title>
+
+ <para>The following dependencies are implicitly added:</para>
+
+ <itemizedlist>
+ <listitem><para>If a path unit is beneath another mount unit in the file
+ system hierarchy, both a requirement and an ordering dependency
+ between both units are created automatically.</para></listitem>
+
+ <listitem><para>An implicit <varname>Before=</varname> dependency is added
+ between a path unit and the unit it is supposed to activate.</para></listitem>
+ </itemizedlist>
+ </refsect1>
+
+ <refsect1>
+ <title>Default Dependencies</title>
+
+ <para>The following dependencies are added unless <varname>DefaultDependencies=no</varname> is set:</para>
+
+ <itemizedlist>
+ <listitem><para>Path units will automatically have dependencies of type <varname>Before=</varname> on
+ <filename>paths.target</filename>,
+ dependencies of type <varname>After=</varname> and <varname>Requires=</varname> on
+ <filename>sysinit.target</filename>, and have dependencies of type <varname>Conflicts=</varname> and
+ <varname>Before=</varname> on <filename>shutdown.target</filename>. These ensure that path units are terminated
+ cleanly prior to system shutdown. Only path units involved with early boot or late system shutdown should
+ disable <varname>DefaultDependencies=</varname> option.</para></listitem>
+ </itemizedlist>
+
+ <para></para>
</refsect1>
<refsect1>