man: slightly improve the sd_notify() documentation regarding READY=1

READY=1 may be used to signal when a service finished startup, but also
when it finished reloading. Say so.
This commit is contained in:
Lennart Poettering 2017-11-13 18:19:53 +01:00
parent cc2b7b11b4
commit 8d1ab18a46
1 changed files with 4 additions and 6 deletions

View File

@ -124,12 +124,10 @@
<varlistentry>
<term>READY=1</term>
<listitem><para>Tells the service manager that service startup
is finished. This is only used by systemd if the service
definition file has Type=notify set. Since there is little
value in signaling non-readiness, the only value services
should send is <literal>READY=1</literal> (i.e.
<literal>READY=0</literal> is not defined).</para></listitem>
<listitem><para>Tells the service manager that service startup is finished, or the service finished loading its
configuration. This is only used by systemd if the service definition file has <varname>Type=notify</varname>
set. Since there is little value in signaling non-readiness, the only value services should send is
<literal>READY=1</literal> (i.e. <literal>READY=0</literal> is not defined).</para></listitem>
</varlistentry>
<varlistentry>