Hi Cyril,

On Thu, Jan 14, 2016 at 07:52:37PM +0100, Cyril Bonté wrote:
> Good news, there is nothing wrong in haproxy, the "-L" option is 
> correctly applied to he loaded configuration.

Great!

> But the init script first checks the configuration in 
> check_haproxy_config(), which doesn't take into account EXTRAOPTS. This 
> is this part which produces the warning :
> 
> check_haproxy_config()
> {
>         $HAPROXY -c -f "$CONFIG" >/dev/null
>         if [ $? -eq 1 ]; then
>                 log_end_msg 1
>                 exit 1
>         fi
> }
> 
> Maybe the init script should be updated to add $EXTRAOPTS everywhere.

Good catch, that explains everything indeed!

Thanks for working on this!
Willy


Reply via email to