adds global section

This commit is contained in:
Arne Teuke
2018-12-10 16:57:53 +01:00
parent 144913bdb4
commit d4048ab471
3 changed files with 45 additions and 1 deletions

View File

@@ -3,3 +3,17 @@
##### will be overwritten. original full file available at #####
##### https://confdroid.com/2018/12/haproxy-cfg/ #####
###############################################################################
global
log <%= @hy_log_target %> <%= @hy_log_facility %>
chroot <%= @hy_chroot %>
pidfile <%= @hy_pid %>
maxconn <%= @hy_maxconn %>
user <%= @hy_user_name %>
group <%= @hy_user_name %>
daemon
<% if @hy_show_stats == true -%>
stats socket <%= @hy_stats_socket %>
<% end -%>