]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/fail2ban/templates/default/jail.erb
imagery: restart titiler service to workaround resource leak
[chef.git] / cookbooks / fail2ban / templates / default / jail.erb
index c155e0f6c484ad1d531655be39f98568bb633deb..357e09ea50da55c694600658ecabf909ee6e3704 100644 (file)
@@ -5,12 +5,30 @@ enabled = true
 <% if @protocol -%>
 protocol = <%= @protocol %>
 <% end -%>
+<% if @ports -%>
 port = <%= @ports.join(",") %>
+<% end -%>
+<% if @filter -%>
 filter = <%= @filter %>
+<% end -%>
+<% if @backend -%>
+backend = <%= @backend %>
+<% end -%>
+<% if @journalmatch -%>
+journalmatch = <%= @journalmatch %>
+<% end -%>
+<% if @logpath -%>
 logpath = <%= @logpath %>
+<% end -%>
+<% if @bantime -%>
+bantime = <%= @bantime %>
+<% end -%>
+<% if @findtime -%>
+findtime = <%= @findtime %>
+<% end -%>
 <% if @maxretry -%>
 maxretry = <%= @maxretry %>
 <% end -%>
 <% if @ignoreips -%>
-ignoreip = <%= @ignoreips.join(",") %>
+ignoreip = <%= @ignoreips.sort.join(" ") %>
 <% end -%>