chiark / gitweb /
man: document $MAINPID
authorLennart Poettering <lennart@poettering.net>
Wed, 19 Feb 2014 01:54:00 +0000 (02:54 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 19 Feb 2014 02:27:03 +0000 (03:27 +0100)
man/systemd.exec.xml

index 7f97ca0..7dbe05d 100644 (file)
                         <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
                         </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>
 
                                 <listitem><para>The PID of the user