Enable admin level on the haproxy stats socket

This makes possible to use:

`hatop -s /var/run/haproxy.stat`

with F9/F10 buttons to enable/disable backends.

Closes-Bug: #1487378
Change-Id: I6711cc7aa31701466e5a624589588b1b53e24f02
This commit is contained in:
Jean-Philippe Evrard 2015-08-18 12:06:18 +02:00 committed by Jesse Pretorius
parent c8b133e025
commit 84a325bd65

View File

@ -7,7 +7,7 @@ global
daemon
maxconn 4096
tune.bufsize 384000
stats socket /var/run/haproxy.stat mode 600
stats socket /var/run/haproxy.stat level admin mode 600
defaults
log global