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 %>