]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/munin.erb
nominatim: point logs for HTTP server to custom location
[chef.git] / cookbooks / nominatim / templates / default / munin.erb
index 136211ef5731c31de7402cf5d9629c2a99c6bd1a..284314567aa6e3f76ed4b0b4af9e9d09e7e1de22 100644 (file)
@@ -2,6 +2,6 @@
 
 [nominatim_*]
 user www-data
-env.PGDATABASE <%= node[:nominatim][:database][:dbname] %>
+env.PGDATABASE <%= @db %>
 env.PGUSER www-data
-env.NOMINATIM_QUERYLOG /var/log/nominatim/query.log
+env.NOMINATIM_QUERYLOG <%= @querylog %>