diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-11-11 20:47:07 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-11-11 20:47:07 +0100 |
commit | c129bd5df3ca08eb352cf69d01d2f374552624ae (patch) | |
tree | 4bb0dd13f5cb15c362aae88b6acc95b3fb8b757c /man/systemd.target.xml | |
parent | core: simplify mount unit dependency generation a bit (diff) | |
download | systemd-c129bd5df3ca08eb352cf69d01d2f374552624ae.tar.xz systemd-c129bd5df3ca08eb352cf69d01d2f374552624ae.zip |
man: document automatic dependencies
For all units ensure there's an "Automatic Dependencies" section in the
man page, and explain which dependencies are automatically added in all
cases, and which ones are added on top if DefaultDependencies=yes is
set.
This is also done for systemd.exec(5), systemd.resource-control(5) and
systemd.unit(5) as these pages describe common behaviour of various unit
types.
Diffstat (limited to 'man/systemd.target.xml')
-rw-r--r-- | man/systemd.target.xml | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/man/systemd.target.xml b/man/systemd.target.xml index e790e9b77a..54a5f5035c 100644 --- a/man/systemd.target.xml +++ b/man/systemd.target.xml @@ -77,15 +77,20 @@ See <citerefentry><refentrytitle>systemd.special</refentrytitle><manvolnum>7</manvolnum></citerefentry> for details).</para> + </refsect1> + + <refsect1> + <title>Automatic Dependencies</title> <para>Unless <varname>DefaultDependencies=</varname> is set to - <option>false</option>, target units will implicitly complement - all configured dependencies of type <varname>Wants=</varname>, + <option>no</option>, target units will implicitly complement all + configured dependencies of type <varname>Wants=</varname>, <varname>Requires=</varname>, <varname>RequiresOverridable=</varname> with dependencies of type - <varname>After=</varname> if the units in question also have - <varname>DefaultDependencies=true</varname>. - </para> + <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> </refsect1> <refsect1> |