moved the stats bit in clause true or false

This commit is contained in:
Arne Teuke
2025-02-12 14:23:21 +01:00
parent fb25d63b21
commit 57566d61d5
2 changed files with 5 additions and 0 deletions

View File

@@ -86,6 +86,8 @@ $hy_timeout_client = '1m',
$hy_timeout_server = '1m', $hy_timeout_server = '1m',
$hy_timeout_http_keep_alive = '10s', $hy_timeout_http_keep_alive = '10s',
$hy_timeout_check = '10s', $hy_timeout_check = '10s',
$hy_hard_stop = true,
$hy_hard_stop_value = '60s',
# user # user
$hy_user_name = 'haproxy', $hy_user_name = 'haproxy',

View File

@@ -9,6 +9,9 @@ global
<% if @hy_log_local1 == true -%> <% if @hy_log_local1 == true -%>
log /dev/log local1 notice log /dev/log local1 notice
<% end -%> <% end -%>
<% if @hy_hard_stop == true -%>
hard-stop-after <%= @hy_hard_stop_value %>
<% end -%>
chroot <%= @hy_chroot %> chroot <%= @hy_chroot %>
pidfile <%= @hy_pid %> pidfile <%= @hy_pid %>
maxconn <%= @hy_maxconn %> maxconn <%= @hy_maxconn %>