nominatim: move apache log into nominatim logdir
[chef.git] / cookbooks / nominatim / recipes / default.rb
index b10c9232737db54cc1507c0dd3bb1f6b5ce24bd8..ea5533515899805a879218eb16aa51f07675bea3 100644 (file)
@@ -379,7 +379,7 @@ end
 
 fail2ban_jail "nominatim" do
   filter "nominatim"
-  logpath "/var/log/apache2/nominatim.openstreetmap.org-access.log"
+  logpath "#{node[:nominatim][:logdir]}/nominatim.openstreetmap.org-access.log"
   ports [80, 443]
   maxretry 100
   ignoreips web_servers