Changeset - e8c0fb1ce94b
[Not reviewed]
0 1 0
Jan Kaluza - 13 years ago 2013-01-31 18:48:52
hanzz.k@gmail.com
Update documentation/configuration/config_file.md
1 file changed with 11 insertions and 0 deletions:
0 comments (0 inline, 0 general)
documentation/configuration/config_file.md
Show inline comments
 
@@ -4,12 +4,22 @@ 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:
 

	
 
  allowed_servers=domain.tld
 
  allowed_servers=example.com
 

	
 
### [service] section
 

	
 
#### General settings
 

	
 
Key | Type | Default | Description
 
----|------|---------|------------
 
@@ -20,12 +30,13 @@ port | integer | 0 | Port on which Spectrum listens to in server-mode or to whic
 
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
 

	
 
Key | Type | Default | Description
 
----|------|---------|------------
 
user | string | | Name of user Spectrum switch to if run as daemon.
0 comments (0 inline, 0 general)