Files
@ d11fdaf3e279
Branch filter:
Location: libtransport.git/tests/twitter/twitter_test.cfg - annotation
d11fdaf3e279
1.2 KiB
text/x-ini
systemd: wait for network-online.target and add WantedBy=multi-user.target
Thanks to that, "systemctl enable spectrum2" does what expected, that is
makes Spectrum2 start on boot. Also, network.target doesn't tell anything
meaningful - it's just that the network stack is available.
Adding network-online.target makes sure that the network interfaces are up
before starting Spectrum2.
Thanks to that, "systemctl enable spectrum2" does what expected, that is
makes Spectrum2 start on boot. Also, network.target doesn't tell anything
meaningful - it's just that the network stack is available.
Adding network-online.target makes sure that the network interfaces are up
before starting Spectrum2.
5f0dc6840701 5f92bf989968 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 5f0dc6840701 | [service]
jid = localhost
password = secret
server = 0.0.0.0
port = 5223
server_mode = 1
backend_host=127.0.0.1
pidfile=./test.pid
# < this option doesn't work yet
#backend_port=10001
admin_jid=admin
admin_password=test
#cert=server.pfx #patch to PKCS#12 certificate
#cert_password=test #password to that certificate if any
users_per_backend=10
#backend=../..//backends/swiften/spectrum2_swiften_backend
#backend=../../../backends/twitter/spectrum2_twitter_backend
backend=../../backends/twitter/spectrum2_twitter_backend
protocol=prpl-jabber
#protocol=prpl-msn
#protocol=any
#protocol=prpl-icq
working_dir=./
portfile=./$jid.port
irc_server=localhost
[backend]
#default_avatar=catmelonhead.jpg
#no_vcard_fetch=true
[logging]
#config=logging.cfg # log4cxx/log4j logging configuration file
#backend_config=/home/hanzz/code/libtransport/spectrum/src/backend-logging.cfg # log4cxx/log4j logging configuration file for backends
[database]
type=sqlite3
database=twitter.sql
prefix=
#type = mysql # or "none" without database backend.......................................................................................................................
#database = test
#prefix=
#user=root
#password=yourrootsqlpassword
#encryption_key=hanzzik
|