Create component runner

- JCLRunner handle configuration file and command line arguments to setup a JCL component

darcs-hash:20070518143255-86b55-f5dfd32edeb34c9d30b85a1dd05a12c6a8423806.gz
This commit is contained in:
David Rousselie
2007-05-18 16:32:55 +02:00
parent 1cab0da48c
commit 4bb6d27c33
8 changed files with 435 additions and 2 deletions

21
conf/jcl.conf Normal file
View File

@@ -0,0 +1,21 @@
[jabber]
server: localhost
port: 5347
secret: secret
service_jid: jcl.localhost
#supported language: en, fr (See src/jcl/lang.py to add more)
language: en
[db]
#type: mysql
type: sqlite
#host: root@localhost
host:
name: /var/spool/jabber/jcl.db
#url: %(type)%(host)%(name)?debug=1&debugThreading=1
db_url: %(type)s://%(host)s%(name)s
[component]
pid_file: /var/run/jabber/jcl.pid