mirror of https://github.com/status-im/fathom.git
use absolute path to database in install script
This commit is contained in:
parent
67bbdf34eb
commit
60ee0d9fcb
|
@ -69,7 +69,7 @@ function setup_config() {
|
||||||
|
|
||||||
# set filename if using sqlite3
|
# set filename if using sqlite3
|
||||||
if [ "$DATABASE" == "sqlite3" ]; then
|
if [ "$DATABASE" == "sqlite3" ]; then
|
||||||
DATABASE_NAME="fathom.db"
|
DATABASE_NAME="$SITE_DIR_ABS/fathom.db"
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
# or ask for credentials if using postgres or mysql
|
# or ask for credentials if using postgres or mysql
|
||||||
|
|
Loading…
Reference in New Issue