Changeset - 03aea55e2921
[Not reviewed]
0 3 0
Anton Ryzhov - 12 years ago 2013-08-05 18:42:38
anton@ryzhov.me
Correctly bind to local network
Correct non-root skype backend launch (D-BUS needs to write to ~/)
3 files changed with 11 insertions and 3 deletions:
0 comments (0 inline, 0 general)
spectrum/src/sample.cfg
Show inline comments
 
[service]
 
jid = localhost
 
password = secret
 
server = 127.0.0.1
 
port = 5222
 
server_mode = 1
 
backend_host=localhost
 
backend_host=127.0.0.1
 
pidfile=./test.pid
 
# < this option doesn't work yet
 
#backend_port=10001
 
#admin_jid=admin@localhost
 
admin_password=test
 
#cert=server.pfx #patch to PKCS#12 certificate
spectrum/src/sample2.cfg
Show inline comments
 
@@ -13,13 +13,13 @@ jid = localhost
 
server = 127.0.0.1
 

	
 
# XMPP server port.
 
port = 5222
 

	
 
# Interface on which Spectrum listens for backends.
 
backend_host = localhost
 
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
 

	
 
@@ -28,18 +28,22 @@ backend_host = localhost
 

	
 
# 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
 

	
spectrum/src/sample2_gateway.cfg
Show inline comments
 
@@ -13,27 +13,31 @@ password = secret
 
server = 127.0.0.1
 

	
 
# XMPP server port.
 
port = 5347
 

	
 
# Interface on which Spectrum listens for backends.
 
backend_host = localhost
 
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
 

	
 
# 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
 

	
0 comments (0 inline, 0 general)