diff --git a/doc/haproxy.1 b/doc/haproxy.1 index 48717adef..d58e2c7d8 100644 --- a/doc/haproxy.1 +++ b/doc/haproxy.1 @@ -6,7 +6,7 @@ HAProxy \- fast and reliable http reverse proxy and load balancer .SH SYNOPSIS -haproxy \-f [\-n\ maxconn] [\-N\ maxconn] [\-d] [\-D] [\-q] [\-V] [\-c] [\-p\ ] [\-s] [\-l] [\-dk] [\-ds] [\-de] [\-dp] [\-db] [\-m\ ] [{\-sf|\-st}\ pidlist...] +haproxy \-f [\-L\ ] [\-n\ maxconn] [\-N\ maxconn] [\-C\ ] [\-v|\-vv] [\-d] [\-D] [\-q] [\-V] [\-c] [\-p\ ] [\-s] [\-l] [\-dk] [\-ds] [\-de] [\-dp] [\-db] [\-dM[]] [\-m\ ] [{\-sf|\-st}\ pidlist...] .SH DESCRIPTION @@ -36,6 +36,13 @@ instances without risking the system's stability. \fB\-f \fP Specify configuration file path. +.TP +\fB\-L \fP +Set the local instance's peer name. Peers are defined in the \fBpeers\fP +configuration section and used for syncing stick tables between different +instances. If this option is not specified, the local hostname is used as peer +name. + .TP \fB\-n \fP Set the high limit for the total number of simultaneous connections. @@ -44,6 +51,18 @@ Set the high limit for the total number of simultaneous connections. \fB\-N \fP Set the high limit for the per-listener number of simultaneous connections. +.TP +\fB\-C \fP +Change directory to <\fIdir\fP> before loading any files. + +.TP +\fB\-v\fP +Display HAProxy's version. + +.TP +\fB\-vv\fP +Display HAProxy's version and all build options. + .TP \fB\-d\fP Start in foregreound with debugging mode enabled. @@ -107,6 +126,10 @@ and some custom Linux 2.4 systems. \fB\-dp\fP Disables use of poll(). select() might be used instead. +.TP +\fB\-dS\fP +Disables use of splice(), which is broken on older kernels. + .TP \fB\-db\fP Disables background mode (stays in foreground, useful for debugging). @@ -115,6 +138,13 @@ disables daemon mode and multi-process mode. The service can then be stopped by simply pressing Ctrl-C, without having to edit the config nor run full debug. +.TP +\fB\-dM[]\fP +Initializes all allocated memory areas with the given <\fIbyte\fP>. This makes +it easier to detect bugs resulting from uninitialized memory accesses, at the +expense of touching all allocated memory once. If <\fIbyte\fP> is not +specified, it defaults to 0x50 (ASCII 'P'). + .TP \fB\-m \fP Enforce a memory usage limit to a maximum of megabytes.