Hi

Adding the -sf flag to haproxy-systemd-wrapper causes it to exit and print 
usage info.
(-sf <pid>  does the same).
Haproxy 1.5.8, debian wheezy.

Is this a known issue? am I using it incorrectly?
I’m assuming a reload would be issuing the same command (with pids after -sf)

Thanks.

root# haproxy-systemd-wrapper -f /opt/multicloud/discovery/haproxy.cfg -D -p 
/var/run/haproxy.pid  -sf 
<7>haproxy-systemd-wrapper: executing /usr/sbin/haproxy -f 
/opt/multicloud/discovery/haproxy.cfg -D -p /var/run/haproxy.pid -sf -Ds 
HA-Proxy version 1.5.8 2014/10/31
Copyright 2000-2014 Willy Tarreau <[email protected]>

Usage : haproxy [-f <cfgfile>]* [ -vdVD ] [ -n <maxconn> ] [ -N <maxpconn> ]
        [ -p <pidfile> ] [ -m <max megs> ] [ -C <dir> ]
        -v displays version ; -vv shows known build options.
        -d enters debug mode ; -db only disables background mode.
        -dM[<byte>] poisons memory with <byte> (defaults to 0x50)
        -V enters verbose mode (disables quiet mode)
        -D goes daemon ; -C changes to <dir> before loading files.
        -q quiet mode : don't display messages
        -c check mode : only check config files and exit
        -n sets the maximum total # of connections (2000)
        -m limits the usable amount of memory (in MB)
        -N sets the default, per-proxy maximum # of connections (2000)
        -L set local peer name (default to hostname)
        -p writes pids of all children to this file
        -de disables epoll() usage even when available
        -dp disables poll() usage even when available
        -dS disables splice usage (broken on old kernels)
        -dV disables SSL verify on servers side
        -sf/-st [pid ]* finishes/terminates old pids. Must be last arguments.

<5>haproxy-systemd-wrapper: exit, haproxy RC=256


(Y)

Reply via email to