add stats options to global

This commit is contained in:
Arne Teuke
2025-02-13 13:14:43 +01:00
parent 67e79224fd
commit d4fdb49d99

View File

@@ -11,6 +11,10 @@ global
<% end -%>
<% if @hy_hard_stop == true -%>
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 timeout 30s
<% end -%>
chroot <%= @hy_chroot %>
pidfile <%= @hy_pid %>