summarylogtreecommitdiffstats
path: root/0001-Fix-configuration-to-point-to-installed-files.patch
blob: 5f23e807310d097c491a76e617e1c684a98dfa8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
From e8f961114f0f2ec70f647d409afc24a5f950bf4c Mon Sep 17 00:00:00 2001
From: Xiretza <xiretza@xiretza.xyz>
Date: Thu, 24 Jun 2021 15:56:34 +0200
Subject: [PATCH 1/2] Fix configuration to point to installed files

---
 settings/env.defaults | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/settings/env.defaults b/settings/env.defaults
index 00f5569a..a9fc3e60 100644
--- a/settings/env.defaults
+++ b/settings/env.defaults
@@ -10,13 +10,13 @@ NOMINATIM_DATABASE_DSN="pgsql:dbname=nominatim"
 
 # Database web user.
 # Nominatim sets up read-only access for this user during installation.
-NOMINATIM_DATABASE_WEBUSER="www-data"
+NOMINATIM_DATABASE_WEBUSER="http"
 
 # Directory where to find the PostgreSQL server module.
 # When empty the module is expected to be located in the 'module' subdirectory
 # in the project directory.
 # Changing this value requires to run 'nominatim refresh --functions'.
-NOMINATIM_DATABASE_MODULE_PATH=
+NOMINATIM_DATABASE_MODULE_PATH="/usr/lib/nominatim/module"
 
 # Tokenizer used for normalizing and parsing queries and names.
 # The tokenizer is set up during import and cannot be changed afterwards
@@ -77,7 +77,7 @@ NOMINATIM_HTTP_PROXY_PASSWORD=
 # When empty, osm2pgsql is expected to reside in the osm2pgsql directory in
 # the project directory.
 # EXPERT ONLY. You should usually use the supplied osm2pgsql.
-NOMINATIM_OSM2PGSQL_BINARY=
+NOMINATIM_OSM2PGSQL_BINARY="/usr/bin/osm2pgsql"
 
 # Directory where to find US Tiger data files to import.
 # OBSOLETE: use `nominatim add-data --tiger-data <dir>` to explicitly state
-- 
2.36.1