mirror of
https://github.com/SWG-Source/stationapi.git
synced 2026-01-16 23:04:18 -05:00
Rename chat.db.dist
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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")
|
||||
;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user