summaryrefslogtreecommitdiffstats
path: root/database
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2012-10-09 00:32:28 +0200
committerDavid Sommerseth <dazo@users.sourceforge.net>2012-10-09 00:32:28 +0200
commitee5833d1ebde36a016418810009d313a2438bf0b (patch)
treeef1b8eaceb0484b991ab030c1eea3c08ab1d7f28 /database
parent36b46912bbd2d5f8e2544f56e536f536a6405f32 (diff)
downloadeurephia-ee5833d1ebde36a016418810009d313a2438bf0b.tar.gz
eurephia-ee5833d1ebde36a016418810009d313a2438bf0b.tar.xz
eurephia-ee5833d1ebde36a016418810009d313a2438bf0b.zip
SQLite: Move default installation path from /etc/openvpn to /var/lib/eurephia
Using /var/lib is more appropriate for the kind of database file eurephia uses and will also avoid other security restrictions on hardened installations as well. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Diffstat (limited to 'database')
-rw-r--r--database/sqlite/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/database/sqlite/CMakeLists.txt b/database/sqlite/CMakeLists.txt
index 4034a78..a0a2dc8 100644
--- a/database/sqlite/CMakeLists.txt
+++ b/database/sqlite/CMakeLists.txt
@@ -23,7 +23,7 @@ INCLUDE(CheckIncludeFile)
INCLUDE(CheckLibraryExists)
# Parameters the SQLite3 driver needs
-SET(SQLITE3PREFIX "/etc/openvpn" CACHE STRING "Install prefix for the eurephia SQLite3 database")
+SET(SQLITE3PREFIX "/var/lib/eurephia" CACHE STRING "Install prefix for the eurephia SQLite3 database")
#
# Check for the SQLite3 library