summaryrefslogtreecommitdiffstats
path: root/man/systemd.xml
diff options
context:
space:
mode:
authorBenjamin Berg <bberg@redhat.com>2020-03-04 11:30:31 +0100
committerBenjamin Berg <bberg@redhat.com>2020-03-04 11:32:19 +0100
commit5b058473fed3a99d57f143032ce1f9784f4289ce (patch)
tree20e33a02ca860d86a401613ae7f0e9ffd2e4c011 /man/systemd.xml
parenttest: Add test for setting generator paths via environment (diff)
downloadsystemd-5b058473fed3a99d57f143032ce1f9784f4289ce.tar.xz
systemd-5b058473fed3a99d57f143032ce1f9784f4289ce.zip
man: Add documentation for generator path environment variables
This adds documentation for the SYSTEMD_GENERATOR_PATH and SYSTEMD_ENVIRONMENT_GENERATOR_PATH variables to the systemd man page grouped with the existing SYSTEMD_UNIT_PATH. Also added is a description about how these variables work, i.e. that a trailing : can be used to prepend paths to the usual set.
Diffstat (limited to 'man/systemd.xml')
-rw-r--r--man/systemd.xml14
1 files changed, 11 insertions, 3 deletions
diff --git a/man/systemd.xml b/man/systemd.xml
index 28bf49e131..8b1b6e6c6b 100644
--- a/man/systemd.xml
+++ b/man/systemd.xml
@@ -649,9 +649,17 @@
<varlistentry>
<term><varname>$SYSTEMD_UNIT_PATH</varname></term>
-
- <listitem><para>Controls where systemd looks for unit
- files.</para></listitem>
+ <term><varname>$SYSTEMD_GENERATOR_PATH</varname></term>
+ <term><varname>$SYSTEMD_ENVIRONMENT_GENERATOR_PATH</varname></term>
+
+ <listitem><para>Controls where systemd looks for unit files and
+ generators.</para>
+ <para>These variables may contain a list of paths, separated by colons
+ (<literal>:</literal>). When set, if the list ends with an empty
+ component (<literal>...:</literal>), this list is prepended to the
+ usual set of of paths. Otherwise, the specified list replaces the usual
+ set of paths.
+ </para></listitem>
</varlistentry>
<varlistentry>