From 06ea1ee6642dc34285650c28115cda63c172d250 Mon Sep 17 00:00:00 2001 From: HanzZ Date: Sun, 30 Oct 2011 15:53:30 +0100 Subject: [PATCH] Config file tweaks --- spectrum/src/CMakeLists.txt | 2 +- spectrum/src/sample2.cfg | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/spectrum/src/CMakeLists.txt b/spectrum/src/CMakeLists.txt index 5a78327f..6c20b757 100644 --- a/spectrum/src/CMakeLists.txt +++ b/spectrum/src/CMakeLists.txt @@ -13,7 +13,7 @@ INSTALL(TARGETS spectrum2 RUNTIME DESTINATION bin) INSTALL(FILES sample2.cfg RENAME spectrum.cfg.example - DESTINATION /etc/spectrum2 + DESTINATION /etc/spectrum2/transports ) INSTALL(FILES diff --git a/spectrum/src/sample2.cfg b/spectrum/src/sample2.cfg index ca499f66..0482e4f8 100644 --- a/spectrum/src/sample2.cfg +++ b/spectrum/src/sample2.cfg @@ -36,8 +36,8 @@ backend_port=10001 users_per_backend=10 # Full path to backend binary. -backend=/usr/bin/spectrum_libpurple_backend -#backend=/usr/bin/spectrum_libircclient-qt_backend +backend=/usr/bin/spectrum2_libpurple_backend +#backend=/usr/bin/spectrum2_libircclient-qt_backend # Libpurple protocol-id for spectrum_libpurple_backend protocol=prpl-jabber @@ -62,18 +62,19 @@ type=xmpp [logging] # log4cxx/log4j logging configuration file in ini format used for main spectrum2 instance. -config = /etc/spectrum2/logging.cfg +config = /etc/spectrum2/logging.cfg # log4cxx/log4j logging configuration file in ini format used for backends. -backend_config = /etc/spectrum2/backend-logging.cfg # log4cxx/log4j logging configuration file for backends +backend_config = /etc/spectrum2/backend-logging.cfg [database] # Database backend type # "sqlite3", "mysql" or "none" without database backend -type = none +type = none # For SQLite3: Full path to database # For MySQL: name of database +# database = /var/lib/spectrum2/$jid/database.sql database = jabber_transport # Server.