Welcome! Log In Create A New Profile

Advanced

-Ws argument isn't document?

Posted by Pavlos Parissis 
Pavlos Parissis
-Ws argument isn't document?
February 03, 2018 03:50PM
Hi,

In contrib/systemd/haproxy.service.in we see -Ws used in ExecStart as it is the recommended way to
start haproxy under systemd:

[email protected]@/haproxy -Ws -f $CONFIG -p $PIDFILE

But, it isn't documented in doc/management.txt, only -W is mentioned while I failed to find any
references for '-s'.
I assume that '-s' adds certain functionality as I find it in other argument combinations (-st and -sf).

Is my understanding wrong?

Cheers,
Pavlos
Lucas Rolff
Re: -Ws argument isn't document?
February 03, 2018 04:00PM
haproxy --help:
-W master-worker mode.
-Ws master-worker mode with systemd notify support.

On 03/02/2018, 15.44, "Pavlos Parissis" <[email protected]> wrote:

Hi,

In contrib/systemd/haproxy.service.in we see -Ws used in ExecStart as it is the recommended way to
start haproxy under systemd:

[email protected]@/haproxy -Ws -f $CONFIG -p $PIDFILE

But, it isn't documented in doc/management.txt, only -W is mentioned while I failed to find any
references for '-s'.
I assume that '-s' adds certain functionality as I find it in other argument combinations (-st and -sf).

Is my understanding wrong?

Cheers,
Pavlos
Pavlos Parissis
Re: -Ws argument isn't document?
February 07, 2018 10:10PM
On 03/02/2018 03:53 μμ, Lucas Rolff wrote:
> haproxy --help:
> -W master-worker mode.
> -Ws master-worker mode with systemd notify support.

Stupid me. But, I think it should be mentioned in the document as well. I prepared a patched for it.

Cheers,
Pavlos
Sorry, only registered users may post in this forum.

Click here to login