From 84a325bd65eaf6d1ea02ed380d0b9741ae07fac9 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Evrard Date: Tue, 18 Aug 2015 12:06:18 +0200 Subject: [PATCH] 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 --- playbooks/roles/haproxy_server/files/haproxy.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/roles/haproxy_server/files/haproxy.cfg b/playbooks/roles/haproxy_server/files/haproxy.cfg index e7e1f60e28..7cad77ff40 100644 --- a/playbooks/roles/haproxy_server/files/haproxy.cfg +++ b/playbooks/roles/haproxy_server/files/haproxy.cfg @@ -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