diff options
Diffstat (limited to 'man/systemd-notify.xml')
-rw-r--r-- | man/systemd-notify.xml | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/man/systemd-notify.xml b/man/systemd-notify.xml index 89060680f5..4560074505 100644 --- a/man/systemd-notify.xml +++ b/man/systemd-notify.xml @@ -84,12 +84,13 @@ <varlistentry> <term><option>--pid=</option></term> - <listitem><para>Inform the init system about the main PID of - the daemon. Takes a PID as argument. If the argument is - omitted, the PID of the process that invoked - <command>systemd-notify</command> is used. This is equivalent - to <command>systemd-notify MAINPID=$PID</command>. For details - about the semantics of this option see + <listitem><para>Inform the service manager about the main PID of the daemon. Takes a PID as + argument. If the argument is specified as <literal>auto</literal> or omitted, the PID of the process + that invoked <command>systemd-notify</command> is used, except if that's the service manager. If the + argument is specified as <literal>self</literal>, the PID of the <command>systemd-notify</command> + command itself is used, and if <literal>parent</literal> is specified the calling process' PID is + used — even if it is the service manager. This is equivalent to <command>systemd-notify + MAINPID=$PID</command>. For details about the semantics of this option see <citerefentry><refentrytitle>sd_notify</refentrytitle><manvolnum>3</manvolnum></citerefentry>.</para></listitem> </varlistentry> |