haproxy -f /etc/haproxy.cfg -sf $(cat $PIDFILE) would do it
>haproxy -h
HA-Proxy version 1.4.18 2011/09/16
Copyright 2000-2011 Willy Tarreau <w#1wt.eu>
Usage : haproxy [-f <cfgfile>]* [ -vdVD ] [ -n <maxconn> ] [ -N <maxpconn> ]
[ -p <pidfile> ] [ -m <max megs> ]arguments.
-v displays version ; -vv shows known build options.
-d enters debug mode ; -db only disables background mode.
-V enters verbose mode (disables quiet mode)
-D goes daemon
-q quiet mode : don't display messages
-c check mode : only check config files and exit
-n sets the maximum total # of connections (40000)
-m limits the usable amount of memory (in MB)
-N sets the default, per-proxy maximum # of connections (40000)
-p writes pids of all children to this file
-de disables epoll() usage even when available
-ds disables speculative epoll() usage even when available
-dp disables poll() usage even when available
-dS disables splice usage (broken on old kernels)
-sf/-st [pid ]* finishes/terminates old pids. Must be last
Also see http://haproxy.1wt.eu/download/1.2/doc/haproxy-en.txt
Vivek
On Wed, Oct 19, 2011 at 9:00 PM, John Singleton <jsinglet#gmail.com> wrote:
> Hi Kevin, > > I believe you can just send it a -HUP signal. eg: kill -HUP <pid> > > Best, > JLS > > > On Wed, Oct 19, 2011 at 4:37 PM, Kevin Lindsay <kevin#trakker.ca> wrote: > >> Can HA Proxy make graceful configuration changes? Or does the entire proxy >> need to be restarted leaving space for downtime? >> >> Thanks, >> Kevin >> >> >> >> >> >Received on 2011/10/20 03:09
This archive was generated by hypermail 2.2.0 : 2011/10/20 03:15 CEST