mirror of
https://github.com/systemd/systemd.git
synced 2025-01-10 05:18:17 +03:00
socket: unified documentation for Accept to use 'yes/no' everywhere
This commit is contained in:
parent
437d6de1fe
commit
1bdecfb8e7
@ -5524,12 +5524,12 @@ node /org/freedesktop/systemd1/unit/avahi_2ddaemon_2esocket {
|
|||||||
<para>In addition to these properties there are the following:</para>
|
<para>In addition to these properties there are the following:</para>
|
||||||
|
|
||||||
<para><varname>NAccepted</varname> contains the accumulated number of connections ever accepted on this
|
<para><varname>NAccepted</varname> contains the accumulated number of connections ever accepted on this
|
||||||
socket. This only applies to sockets with <varname>Accept</varname> set to <literal>true</literal>,
|
socket. This only applies to sockets with <varname>Accept</varname> set to <literal>yes</literal>,
|
||||||
i.e. those where systemd is responsible for accepted connections. </para>
|
i.e. those where systemd is responsible for accepted connections. </para>
|
||||||
|
|
||||||
<para>Similarly <varname>NConnections</varname> contains the number of currently open connections on
|
<para>Similarly <varname>NConnections</varname> contains the number of currently open connections on
|
||||||
this socket. It only applies only to socket units with <varname>Accept</varname> set to
|
this socket. It only applies only to socket units with <varname>Accept</varname> set to
|
||||||
<literal>true</literal>.</para>
|
<literal>yes</literal>.</para>
|
||||||
|
|
||||||
<para><varname>Result</varname> encodes the reason why a socket unit failed if it is in the
|
<para><varname>Result</varname> encodes the reason why a socket unit failed if it is in the
|
||||||
<literal>failed</literal> state (see <varname>ActiveState</varname> above). The values
|
<literal>failed</literal> state (see <varname>ActiveState</varname> above). The values
|
||||||
|
@ -389,14 +389,14 @@
|
|||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><varname>Accept=</varname></term>
|
<term><varname>Accept=</varname></term>
|
||||||
<listitem><para>Takes a boolean argument. If true, a service
|
<listitem><para>Takes a boolean argument. If yes, a service
|
||||||
instance is spawned for each incoming connection and only the
|
instance is spawned for each incoming connection and only the
|
||||||
connection socket is passed to it. If false, all listening
|
connection socket is passed to it. If no, all listening
|
||||||
sockets themselves are passed to the started service unit, and
|
sockets themselves are passed to the started service unit, and
|
||||||
only one service unit is spawned for all connections (also see
|
only one service unit is spawned for all connections (also see
|
||||||
above). This value is ignored for datagram sockets and FIFOs
|
above). This value is ignored for datagram sockets and FIFOs
|
||||||
where a single service unit unconditionally handles all
|
where a single service unit unconditionally handles all
|
||||||
incoming traffic. Defaults to <option>false</option>. For
|
incoming traffic. Defaults to <option>no</option>. For
|
||||||
performance reasons, it is recommended to write new daemons
|
performance reasons, it is recommended to write new daemons
|
||||||
only in a way that is suitable for
|
only in a way that is suitable for
|
||||||
<option>Accept=no</option>. A daemon listening on an
|
<option>Accept=no</option>. A daemon listening on an
|
||||||
@ -632,7 +632,7 @@
|
|||||||
the value of the <varname>SELinuxContext=</varname> option.
|
the value of the <varname>SELinuxContext=</varname> option.
|
||||||
This configuration option only affects sockets with
|
This configuration option only affects sockets with
|
||||||
<varname>Accept=</varname> mode set to
|
<varname>Accept=</varname> mode set to
|
||||||
<literal>true</literal>. Also note that this option is useful
|
<literal>yes</literal>. Also note that this option is useful
|
||||||
only when MLS/MCS SELinux policy is deployed. Defaults to
|
only when MLS/MCS SELinux policy is deployed. Defaults to
|
||||||
<literal>false</literal>. </para></listitem>
|
<literal>false</literal>. </para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
Loading…
Reference in New Issue
Block a user