DOC: add description of pidfile in master-worker mode
Previously, pidfile was only described for daemon mode. In the case of master-worker mode, the handling of pidfile is different from daemon mode, so the description has been added.
This commit is contained in:
parent
b5a1f9e495
commit
c32f39431c
@ -1199,9 +1199,10 @@ nbthread <number>
|
|||||||
value is reported in the output of "haproxy -vv". See also "nbproc".
|
value is reported in the output of "haproxy -vv". See also "nbproc".
|
||||||
|
|
||||||
pidfile <pidfile>
|
pidfile <pidfile>
|
||||||
Writes PIDs of all daemons into file <pidfile>. This option is equivalent to
|
Writes PIDs of all daemons into file <pidfile> when daemon mode or writes PID
|
||||||
the "-p" command line argument. The file must be accessible to the user
|
of master process into file <pidfile> when master-worker mode. This option is
|
||||||
starting the process. See also "daemon".
|
equivalent to the "-p" command line argument. The file must be accessible to
|
||||||
|
the user starting the process. See also "daemon" and "master-worker".
|
||||||
|
|
||||||
pp2-never-send-local
|
pp2-never-send-local
|
||||||
A bug in the PROXY protocol v2 implementation was present in HAProxy up to
|
A bug in the PROXY protocol v2 implementation was present in HAProxy up to
|
||||||
|
@ -105,7 +105,8 @@ exits with code 1 if a syntax error was found.
|
|||||||
.TP
|
.TP
|
||||||
\fB\-p <pidfile>\fP
|
\fB\-p <pidfile>\fP
|
||||||
Ask the process to write down each of its children's pids to this file
|
Ask the process to write down each of its children's pids to this file
|
||||||
in daemon mode.
|
in daemon mode or ask the process to write down its master's pid to
|
||||||
|
this file in master-worker mode.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
\fB\-dk\fP
|
\fB\-dk\fP
|
||||||
|
Loading…
x
Reference in New Issue
Block a user