]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: doc: add master-worker in the man page
authorWilliam Lallemand <wlallemand@haproxy.org>
Thu, 13 Jun 2019 09:51:09 +0000 (11:51 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Thu, 13 Jun 2019 13:32:39 +0000 (15:32 +0200)
Add some information about the master-worker in the man page.

Should be backported in every version since 1.8.

doc/haproxy.1

index 5791352959e826ee081b2dc6381c8f64f78ca7bd..ffe7891095e81c43a97d79409e4db9abc6fc113f 100644 (file)
@@ -6,7 +6,7 @@ HAProxy \- fast and reliable http reverse proxy and load balancer
 
 .SH SYNOPSIS
 
-haproxy \-f <configuration\ file|dir> [\-L\ <name>] [\-n\ maxconn] [\-N\ maxconn] [\-C\ <dir>] [\-v|\-vv] [\-d] [\-D] [\-q] [\-V] [\-c] [\-p\ <pidfile>] [\-dk] [\-ds] [\-de] [\-dp] [\-db] [\-dM[<byte>]] [\-m\ <megs>] [\-x <unix_socket>] [{\-sf|\-st}\ pidlist...]
+haproxy \-f <configuration\ file|dir> [\-L\ <name>] [\-n\ maxconn] [\-N\ maxconn] [\-C\ <dir>] [\-v|\-vv] [\-d] [\-D] [\-W] [\-Ws] [\-q] [\-V] [\-c] [\-p\ <pidfile>] [\-dk] [\-ds] [\-de] [\-dp] [\-db] [\-dM[<byte>]] [\-m\ <megs>] [\-x <unix_socket>] [{\-sf|\-st}\ pidlist...]
 
 .SH DESCRIPTION
 
@@ -77,6 +77,16 @@ starting up.
 \fB\-D\fP
 Start in daemon mode.
 
+.TP
+\fB\-W\fP
+Start in master-worker mode. Could be used either with foreground or daemon
+mode.
+
+.TP
+\fB\-Ws\fP
+Start in master-worker mode with systemd notify support. It tells systemd when
+the process is ready. This mode forces foreground.
+
 .TP
 \fB\-q\fP
 Disable messages on output.
@@ -177,6 +187,9 @@ Some signals have a special meaning for the haproxy daemon. Generally, they are
 \- \fBSIGUSR1\fP
 Tells the daemon to stop all proxies and exit once all sessions are closed. It is often referred to as the "soft-stop" signal.
 .TP
+\- \fBSIGUSR2\fP
+In master-worker mode, reloads the configuration and sends a soft-stop signal to old processes.
+.TP
 \- \fBSIGTTOU\fP
 Tells the daemon to stop listening to all sockets. Used internally by \fB\-sf\fP and \fB\-st\fP.
 .TP