moved the stats bit in clause true or false
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
@@ -8,6 +8,9 @@ global
|
|||||||
<% end -%>
|
<% end -%>
|
||||||
<% if @hy_log_local1 == true -%>
|
<% if @hy_log_local1 == true -%>
|
||||||
log /dev/log local1 notice
|
log /dev/log local1 notice
|
||||||
|
<% end -%>
|
||||||
|
<% if @hy_hard_stop == true -%>
|
||||||
|
hard-stop-after <%= @hy_hard_stop_value %>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
chroot <%= @hy_chroot %>
|
chroot <%= @hy_chroot %>
|
||||||
pidfile <%= @hy_pid %>
|
pidfile <%= @hy_pid %>
|
||||||
|
|||||||
Reference in New Issue
Block a user