From eaacd6662e09a91bc44dbb858251f5b3caf26789 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Thu, 20 Dec 2012 20:54:20 +0000 Subject: [PATCH] store daemon db in the home area --- Netdisco/share/environments/development.yml | 2 +- Netdisco/share/environments/production.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Netdisco/share/environments/development.yml b/Netdisco/share/environments/development.yml index ade2ad0f..cc1c5309 100644 --- a/Netdisco/share/environments/development.yml +++ b/Netdisco/share/environments/development.yml @@ -33,7 +33,7 @@ plugins: # know what you're doing! daemon: schema_class: 'App::Netdisco::Daemon::DB' - dsn: 'dbi:SQLite:dbname=/tmp/netdisco-daemon.db' + dsn: 'dbi:SQLite:dbname=/home/netdisco/netdisco-daemon.db' options: RaiseError: 1 AutoCommit: 1 diff --git a/Netdisco/share/environments/production.yml b/Netdisco/share/environments/production.yml index 049495bf..3a6b5d51 100644 --- a/Netdisco/share/environments/production.yml +++ b/Netdisco/share/environments/production.yml @@ -31,7 +31,7 @@ plugins: # know what you're doing! daemon: schema_class: 'App::Netdisco::Daemon::DB' - dsn: 'dbi:SQLite:dbname=/tmp/netdisco-daemon.db' + dsn: 'dbi:SQLite:dbname=/home/netdisco/netdisco-daemon.db' options: RaiseError: 1 AutoCommit: 1