summarylogtreecommitdiffstats
path: root/0001-Fix-configuration-to-point-to-installed-files.patch
blob: 6d27370aeb97f406167ff8f0667a1563a6172523 (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 854b98268687883b4076ddacdab67625f57aca38 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 3115f438..7fae17bf 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
@@ -75,7 +75,7 @@ NOMINATIM_HTTP_PROXY_PASSWORD=
 
 # Location of the osm2pgsql binary.
 # 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.37.1