Files @ b55393bf9fb6
Branch filter:

Location: libtransport.git/spectrum/src/sample2.cfg - annotation

Jan Kaluza
Slack: Store channel/im/user name to ID mapping in SlackIdManager
fe3aa40faa22
a48153883675
a48153883675
a48153883675
c9e977250689
c9e977250689
c9e977250689
c9e977250689
4b2768e5d177
fe3aa40faa22
a48153883675
df369e65d8f0
fe3aa40faa22
a48153883675
a48153883675
fe3aa40faa22
a48153883675
a48153883675
03aea55e2921
a48153883675
a48153883675
4c334e9f1c0b
4c334e9f1c0b
4c334e9f1c0b
a48153883675
a48153883675
a48153883675
a48153883675
a48153883675
a452ccd18798
a48153883675
a48153883675
a48153883675
03aea55e2921
03aea55e2921
a48153883675
a48153883675
06ea1ee6642d
2b5b1ca86034
c643e5b81d60
b90a91ac7883
03aea55e2921
03aea55e2921
a48153883675
a48153883675
fe3aa40faa22
fe3aa40faa22
fe3aa40faa22
fe3aa40faa22
a452ccd18798
a48153883675
a48153883675
a452ccd18798
a48153883675
a48153883675
a48153883675
a48153883675
a48153883675
a48153883675
a48153883675
a48153883675
a48153883675
a48153883675
a48153883675
a48153883675
0498acd07a1d
a48153883675
06ea1ee6642d
a48153883675
a48153883675
06ea1ee6642d
0498acd07a1d
fe3aa40faa22
a48153883675
7f13a2909063
06ea1ee6642d
a48153883675
a48153883675
7f13a2909063
3fc191ceb46b
3fc191ceb46b
a48153883675
a48153883675
3fc191ceb46b
a48153883675
a48153883675
3fc191ceb46b
a48153883675
a48153883675
3fc191ceb46b
a48153883675
a48153883675
3fc191ceb46b
a48153883675
a48153883675
3fc191ceb46b
7619b9e2b2cb
6334c256f4fd
6334c256f4fd
6334c256f4fd
6334c256f4fd
7619b9e2b2cb
7619b9e2b2cb
7619b9e2b2cb
7619b9e2b2cb
7619b9e2b2cb
eb3c5880337c
eb3c5880337c
7619b9e2b2cb
a452ccd18798
7619b9e2b2cb
7619b9e2b2cb
eb3c5880337c
eb3c5880337c
eb3c5880337c
eb3c5880337c
7619b9e2b2cb
[service]
# 1 if Spectrum should run in server mode.
server_mode = 1

# The name of user/group Spectrum runs as.
#user=spectrum
#group=spectrum

# Hostname (JID) of this Spectrum 2 server mode instance.
jid = localhost

# To bind to all ipv4 interfaces, use server=0.0.0.0
server = 127.0.0.1

# XMPP server port.
port = 5222

# Interface on which Spectrum listens for backends.
backend_host = 127.0.0.1

# Port on which Spectrum listens for backends.
# By default Spectrum chooses random backend port and there's
# no need to change it normally
#backend_port=10001

# Full path to PKCS#12 cetficiate used for TLS in server mode.
#cert=

# Certificate password if any.
#cert_password=

# Number of users per one legacy network backend.
users_per_backend=10
# For Skype - must be =1
#users_per_backend=1

# Full path to backend binary.
backend=/usr/bin/spectrum2_libpurple_backend
#backend=/usr/bin/spectrum2_libcommuni_backend
# For skype:
#backend=/usr/bin/xvfb-run -a -s "-screen 0 10x10x8" -f /tmp/x-skype-gw /usr/bin/spectrum2_skype_backend
# For skype if instance drops privileges (`user`/`group` options) we should set writable HOME folder for D-BUS:
#backend=/usr/bin/env HOME=/var/lib/spectrum2 xvfb-run -a -s "-screen 0 10x10x8" -f /tmp/x-skype-gw /usr/bin/spectrum2_skype_backend

# Libpurple protocol-id for spectrum_libpurple_backend
protocol=prpl-jabber
#protocol=prpl-msn
#protocol=prpl-icq

# protocol=any means that user sets his protocol in his JID which has to be
# in following format: protocol.username@domain.tld
# So for example: prpl-jabber.hanzz.k%gmail.com@domain.tld
#protocol=any

[identity]
# Name of Spectrum instance in service discovery
name=Spectrum Jabber Transport

# Type of transport ("msn", "icq", "xmpp").
# Check http://xmpp.org/registrar/disco-categories.html#gateway
type=xmpp

# Category of transport, default is "gateway
#category=gateway

[logging]
# log4cxx/log4j logging configuration file in ini format used for main spectrum2 instance.
config = /etc/spectrum2/logging.cfg

# log4cxx/log4j logging configuration file in ini format used for backends.
backend_config = /etc/spectrum2/backend-logging.cfg

[database]
# Database backend type
# "sqlite3", "mysql", "pqxx", or "none" without database backend
type = none

# For SQLite3: Full path to database
# For MySQL and PostgreSQL: name of database
# default database = /var/lib/spectrum2/$jid/database.sql
#database = jabber_transport

# Server.
#server = localhost

# Port.
#port = 0

# User.
#user = spectrum

# Paasword.
#password = secret

# Prefix used for tables
#prefix = jabber_

# Connection string (for pqxx only!)
# If you set this, it ignores every other database option except for type and prefix.
#connectionstring = host=localhost user=specturm password=secret

[registration]
# Enable public registrations
enable_public_registration=1

# Text to display upon user registration form
#username_label=Jabber JID (e.g. user@server.tld):
#instructions=Enter your remote jabber JID and password as well as your local username and password

# If True a local jabber account on <local_account_server> is needed
# for transport registration, the idea is to enable public registration
# from other servers, but only for users, who have already local accounts
#require_local_account=1
#local_username_label=Local username (without @server.tld):
#local_account_server=localhost
#local_account_server_timeout=10000