From fc64d7fd4d82b8aeadfdaf7a9e6307d151fe7531 Mon Sep 17 00:00:00 2001 From: apathy Date: Thu, 5 Jan 2017 07:36:16 -0600 Subject: [PATCH] Rename chat.db.dist --- extras/{chat.db.dist => stationchat.db.dist} | Bin extras/swgchat.cfg.dist | 2 +- src/stationchat/main.cpp | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename extras/{chat.db.dist => stationchat.db.dist} (100%) diff --git a/extras/chat.db.dist b/extras/stationchat.db.dist similarity index 100% rename from extras/chat.db.dist rename to extras/stationchat.db.dist diff --git a/extras/swgchat.cfg.dist b/extras/swgchat.cfg.dist index a018b1e..494097e 100644 --- a/extras/swgchat.cfg.dist +++ b/extras/swgchat.cfg.dist @@ -11,7 +11,7 @@ registrar_address = 127.0.0.1 registrar_port = 5000 # Path to the application database -database_path = chat.db +database_path = var/stationapi/stationchat.db # When set to true, binds to the config address; otherwise, binds on any interface bind_to_ip = false diff --git a/src/stationchat/main.cpp b/src/stationchat/main.cpp index 1fb3fe9..e924d59 100644 --- a/src/stationchat/main.cpp +++ b/src/stationchat/main.cpp @@ -74,7 +74,7 @@ StationChatConfig BuildConfiguration(int argc, const char* argv[]) { "port for registrar connections") ("bind_to_ip", po::value(&config.bindToIp)->default_value(false), "when set to true, binds to the config address; otherwise, binds on any interface") - ("database_path", po::value(&config.chatDatabasePath)->default_value("chat.db"), + ("database_path", po::value(&config.chatDatabasePath)->default_value("var/stationapi/stationchat.db"), "path to the sqlite3 database file") ;