]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/nominatim.erb
set LANG for nominatim munin script to make python happy
[chef.git] / cookbooks / nominatim / templates / default / nominatim.erb
index d36523d851df958af7ac82cae9d4ad2650e6a7d0..591f826e549b1c9af0b05f1c5a0aa87e5bea8cfa 100644 (file)
@@ -7,3 +7,7 @@ if (isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS']))
 else
     @define('CONST_Website_BaseURL', 'http://nominatim.openstreetmap.org/');
 
 else
     @define('CONST_Website_BaseURL', 'http://nominatim.openstreetmap.org/');
 
+@define('CONST_Postgresql_Version', '<%= @postgres_version %>');
+@define('CONST_Postgis_Version', '<%= node[:nominatim][:database][:postgis] %>');
+
+@define('CONST_Log_File', '/var/log/nominatim/query.log');