Changeset - 8003915818f7
[Not reviewed]
0 1 0
Jan Kaluza - 13 years ago 2013-01-31 18:50:46
hanzz.k@gmail.com
Update documentation/configuration/config_file.md
1 file changed with 4 insertions and 4 deletions:
0 comments (0 inline, 0 general)
documentation/configuration/config_file.md
Show inline comments
 
---
 
layout: page
 
title: Spectrum 2
 
---
 

	
 
### Compatibility with Spectrum 1
 

	
 
Spectrum 2 config file is not compatible with Spectrum 1, although some important config options are named the same as in Spectrum 1.
 

	
 
Following types are used:
 

	
 
* integer - Examples: key=0
 
* string - Examples: key=something
 
* boolean - Examples: key=0 or key=1
 
* list - List of strings. You can specify this options more than once:
 
- integer - Examples: key=0
 
- string - Examples: key=something
 
- boolean - Examples: key=0 or key=1
 
- list - List of strings. You can specify this options more than once:
 

	
 
	allowed_servers=domain.tld
 
	allowed_servers=example.com
 

	
 
### [service] section
 

	
 
#### General settings
 

	
 
Key | Type | Default | Description
 
----|------|---------|------------
 
server_mode | boolean | 0 | True if Spectrum should run as server in [server-mode](http://spectrum.im/documentation/about.html#server_mode).
 
jid | string | | Jabber ID of Spectrum2 instance. For example "localhost", "icq.domain.tld".
 
server | string | | Hostname or IP address of server to which Spectrum connects in gateway-mode.
 
port | integer | 0 | Port on which Spectrum listens to in server-mode or to which connects in gateway-mode.
 
password | string | | Password used to connect Jabber server in gateway-mode.
 
cert | string | | Full path to PKCS#12 certificate which is used for TLS in server-mode.
 
cert_password | string | | PKCS#12 certificate password.
 
admin_jid | JID | | Jabber ID of administrator with admin rights.
 
admin_password | string | | Administrator password.
 
enable_privacy_lists | boolean | 1 | True if privacy lists should be enabled.
 
allowed_servers | list | | List of servers from which users can connect or register.
 

	
 
#### Daemon related settings
 

	
0 comments (0 inline, 0 general)