Rename chat.db.dist

This commit is contained in:
apathy
2017-01-05 07:36:16 -06:00
parent 272de22722
commit fc64d7fd4d
3 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -74,7 +74,7 @@ StationChatConfig BuildConfiguration(int argc, const char* argv[]) {
"port for registrar connections")
("bind_to_ip", po::value<bool>(&config.bindToIp)->default_value(false),
"when set to true, binds to the config address; otherwise, binds on any interface")
("database_path", po::value<std::string>(&config.chatDatabasePath)->default_value("chat.db"),
("database_path", po::value<std::string>(&config.chatDatabasePath)->default_value("var/stationapi/stationchat.db"),
"path to the sqlite3 database file")
;