From 6dd6fab41b3eeb2b195e7762aacd869407f92df3 Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Thu, 13 Feb 2025 13:40:06 +0100 Subject: [PATCH] add stats options to global --- templates/haproxy_head.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/haproxy_head.erb b/templates/haproxy_head.erb index 7675d64..5f6de7b 100644 --- a/templates/haproxy_head.erb +++ b/templates/haproxy_head.erb @@ -13,7 +13,7 @@ global hard-stop-after <%= @hy_hard_stop_value %> <% end -%> <% if @hy_show_stats == true -%> - stats socket /run/haproxy/admin.sock mode 660 level admin expose-fd listeners + stats socket /var/lib/haproxy/stats stats timeout 30s <% end -%> chroot <%= @hy_chroot %>