commit d70b8e2853fdc4a35adfbaff5f4fb31dba8020f1
parent 5bdcade965240515b77b73b68d048e59674ef200
Author: Frederic Cambus <fcambus@users.sourceforge.net>
Date: Thu, 31 Dec 2015 19:10:24 +0100
Documentation update (changing the default GeoIP databases directory)
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/README.md b/README.md
@@ -73,6 +73,12 @@ Logswan uses the `CMake` build system and requires `GeoIP` and `Jansson` librari
Logswan has been sucessfully compiled and tested on Mac OS X, OpenBSD, NetBSD, and Linux with both Clang and GCC.
+By default, Logswan looks for GeoIP databases in `${CMAKE_INSTALL_PREFIX}/share/GeoIP`, which points to `/usr/local/share/GeoIP` by default.
+
+A custom directory can be set using the `DATADIR` variable when invoking CMake :
+
+ cmake -DDATADIR=/var/db/GeoIP .
+
## Installation
Logswan packages are available for :