diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-01-29 16:26:55 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-01-29 16:50:50 +0100 |
commit | ae0a5fb1e14c9871ada1eac09cbe01021814d342 (patch) | |
tree | d861d459eba866dfb903995d8237b94002e693f9 /man/systemd.service.xml | |
parent | a5a5f03382ba7733670d7d226ce75f98dd64e554 (diff) |
man: document special considerations when mixing templated service units and DefaultDependencies=no
Fixes #2189.
Diffstat (limited to 'man/systemd.service.xml')
-rw-r--r-- | man/systemd.service.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/man/systemd.service.xml b/man/systemd.service.xml index b998a1f81f..d7b19ee27f 100644 --- a/man/systemd.service.xml +++ b/man/systemd.service.xml @@ -113,6 +113,16 @@ involved with early boot or late system shutdown should disable this option.</para> + <para>Instanced service units (i.e. service units with an <literal>@</literal> in their name) are assigned by + default a per-template slice unit (see + <citerefentry><refentrytitle>systemd.slice</refentrytitle><manvolnum>5</manvolnum></citerefentry>), named after the + template unit, containing all instances of the specific template. This slice is normally stopped at shutdown, + together with all template instances. If that is not desired, set <varname>DefaultDependencies=no</varname> in the + template unit, and either define your own per-template slice unit file that also sets + <varname>DefaultDependencies=no</varname>, or set <varname>Slice=system.slice</varname> (or another suitable slice) + in the template unit. Also see + <citerefentry><refentrytitle>systemd.resource-control</refentrytitle><manvolnum>5</manvolnum></citerefentry>.</para> + <para>Additional implicit dependencies may be added as result of execution and resource control parameters as documented in <citerefentry><refentrytitle>systemd.exec</refentrytitle><manvolnum>5</manvolnum></citerefentry> |