man: document $MAINPID

(cherry picked from commit b67f562c9c)
This commit is contained in:
Lennart Poettering
2014-03-05 00:26:49 -05:00
committed by Zbigniew Jędrzejewski-Szmek
parent 8d04b9ce22
commit 360ac98ec3
+12 -1
View File
@@ -472,7 +472,7 @@
<varlistentry>
<term><varname>StandardError=</varname></term>
<listitem><para>Controls where file
descriptor 2 (standard error) of the
descriptor 2 (STDERR) of the
executed processes is connected to.
The available options are identical to
those of
@@ -1066,6 +1066,17 @@
tty.</para></listitem>
</varlistentry>
<varlistentry>
<term><varname>$MAINPID</varname></term>
<listitem><para>The PID of the units
main process if it is known. This is
only set for control processes as
invoked by
<varname>ExecReload=</varname> and
similar. </para></listitem>
</varlistentry>
<varlistentry>
<term><varname>$MANAGERPID</varname></term>