mirror of
https://github.com/systemd/systemd
synced 2024-10-07 00:30:59 +00:00
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:
parent
cc2b7b11b4
commit
8d1ab18a46
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue