summaryrefslogtreecommitdiff
path: root/man/systemd.target.xml
diff options
context:
space:
mode:
authorMichal Soltys <soltys@ziu.info>2016-07-15 04:20:45 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-07-14 22:20:45 -0400
commitf749954d924dc126fd3b8a5539b537ddb1a07f71 (patch)
treeaa23d8f5bbfc9d5d9f44f0198dcf0c4e20f8f670 /man/systemd.target.xml
parent20f873deb285d4b67d1da67360fa684a32daea72 (diff)
correct information about implicit dependencies (#3730)
systemd.special.xml: corrections about implicit dependencies for basic.target, sysinit.target and shutdown.target. systemd.target.xml: corrections about implicit dependencies for target units in general.
Diffstat (limited to 'man/systemd.target.xml')
-rw-r--r--man/systemd.target.xml19
1 files changed, 14 insertions, 5 deletions
diff --git a/man/systemd.target.xml b/man/systemd.target.xml
index ab910d75dd..645d8493c1 100644
--- a/man/systemd.target.xml
+++ b/man/systemd.target.xml
@@ -82,11 +82,20 @@
<refsect1>
<title>Automatic Dependencies</title>
- <para>Unless <varname>DefaultDependencies=</varname> in the <literal>[Unit]</literal> section is set to
- <option>no</option>, target units will implicitly complement all configured dependencies of type
- <varname>Wants=</varname>, <varname>Requires=</varname> with dependencies of type <varname>After=</varname>, unless
- an ordering dependency of any kind between the target and the respective other unit is already in place. Note that
- this behaviour is disabled if either unit has <varname>DefaultDependencies=no</varname>.</para>
+ <para>Unless <varname>DefaultDependencies=</varname> is set to
+ <option>no</option> in either of releated units or an explicit ordering
+ dependency is already defined, target units will implicitly complement all
+ configured dependencies of type <varname>Wants=</varname> or
+ <varname>Requires=</varname> with dependencies of type
+ <varname>After=</varname>. Note that <varname>Wants=</varname> or
+ <varname>Requires=</varname> must be defined in the target unit itself - if
+ you for example define <varname>Wants=</varname>some.target in
+ some.service, the implicit ordering will not be added.</para>
+
+ <para>All target units automatically gain <varname>Conflicts=</varname>
+ dependency against shutdown.target unless <varname>DefaultDependencies=</varname>
+ is set to <option>no</option>.</para>
+
</refsect1>
<refsect1>