]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: Add documentation for generator path environment variables 14893/head
authorBenjamin Berg <bberg@redhat.com>
Wed, 4 Mar 2020 10:30:31 +0000 (11:30 +0100)
committerBenjamin Berg <bberg@redhat.com>
Wed, 4 Mar 2020 10:32:19 +0000 (11:32 +0100)
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.

man/systemd.xml

index 28bf49e131b1ab56562e32ee96d72dc788b0f039..8b1b6e6c6b4535d99435cde13168457c1227228a 100644 (file)
 
       <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>