diff options
author | 2017-09-12 12:02:27 +0800 | |
---|---|---|
committer | 2017-09-13 11:39:09 +0800 | |
commit | 45f09f939b50387d65ab6fc46f47608523a6ef19 (patch) | |
tree | 5f59d953c2a4947701a7a8c55d8f5531fe4c0f07 /man/systemd.exec.xml | |
parent | man: move bus-based/socket-based activation out of Automatic Dependencies sec... (diff) | |
download | systemd-45f09f939b50387d65ab6fc46f47608523a6ef19.tar.gz systemd-45f09f939b50387d65ab6fc46f47608523a6ef19.tar.bz2 systemd-45f09f939b50387d65ab6fc46f47608523a6ef19.zip |
man: explicitly distinguish "implicit dependencies" and "default dependencies"
Fixes: #6793
Diffstat (limited to 'man/systemd.exec.xml')
-rw-r--r-- | man/systemd.exec.xml | 43 |
1 files changed, 23 insertions, 20 deletions
diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml index 707cab28a..0661fa8b3 100644 --- a/man/systemd.exec.xml +++ b/man/systemd.exec.xml @@ -81,27 +81,30 @@ </refsect1> <refsect1> - <title>Automatic Dependencies</title> - - <para>A few execution parameters result in additional, automatic - dependencies to be added.</para> - - <para>Units with <varname>WorkingDirectory=</varname>, <varname>RootDirectory=</varname>, <varname>RootImage=</varname>, - <varname>RuntimeDirectory=</varname>, <varname>StateDirectory=</varname>, <varname>CacheDirectory=</varname>, - <varname>LogsDirectory=</varname> or <varname>ConfigurationDirectory=</varname> set automatically gain dependencies - of type <varname>Requires=</varname> and <varname>After=</varname> on all mount units required to access the specified paths. - This is equivalent to having them listed explicitly in <varname>RequiresMountsFor=</varname>.</para> - - <para>Similar, units with <varname>PrivateTmp=</varname> enabled automatically get mount unit dependencies for all - mounts required to access <filename>/tmp</filename> and <filename>/var/tmp</filename>. They will also gain an - automatic <varname>After=</varname> dependency on - <citerefentry><refentrytitle>systemd-tmpfiles-setup.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para> - - <para>Units whose standard output or error output is connected to <option>journal</option>, <option>syslog</option> - or <option>kmsg</option> (or their combinations with console output, see below) automatically acquire dependencies - of type <varname>After=</varname> on <filename>systemd-journald.socket</filename>.</para> + <title>Implicit Dependencies</title> + + <para>A few execution parameters result in additional, automatic dependencies to be added:</para> + + <itemizedlist> + <listitem><para>Units with <varname>WorkingDirectory=</varname>, <varname>RootDirectory=</varname>, <varname>RootImage=</varname>, + <varname>RuntimeDirectory=</varname>, <varname>StateDirectory=</varname>, <varname>CacheDirectory=</varname>, + <varname>LogsDirectory=</varname> or <varname>ConfigurationDirectory=</varname> set automatically gain dependencies + of type <varname>Requires=</varname> and <varname>After=</varname> on all mount units required to access the specified paths. + This is equivalent to having them listed explicitly in <varname>RequiresMountsFor=</varname>.</para></listitem> + + <listitem><para>Similar, units with <varname>PrivateTmp=</varname> enabled automatically get mount unit dependencies for all + mounts required to access <filename>/tmp</filename> and <filename>/var/tmp</filename>. They will also gain an + automatic <varname>After=</varname> dependency on + <citerefentry><refentrytitle>systemd-tmpfiles-setup.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para></listitem> + + <listitem><para>Units whose standard output or error output is connected to <option>journal</option>, <option>syslog</option> + or <option>kmsg</option> (or their combinations with console output, see below) automatically acquire dependencies + of type <varname>After=</varname> on <filename>systemd-journald.socket</filename>.</para></listitem> + </itemizedlist> </refsect1> + <!-- We don't have any default dependency here. --> + <refsect1> <title>Options</title> @@ -591,7 +594,7 @@ <para>If the standard output (or error output, see below) of a unit is connected to the journal, syslog or the kernel log buffer, the unit will implicitly gain a dependency of type <varname>After=</varname> on - <filename>systemd-journald.socket</filename> (also see the automatic dependencies section above).</para> + <filename>systemd-journald.socket</filename> (also see the "Implicit Dependencies" section above).</para> <para>This setting defaults to the value set with <option>DefaultStandardOutput=</option> in |