twonds / punjab

BOSH connection manager
MIT License
183 stars 49 forks source link

How do we configure it? #38

Closed akarelas closed 11 years ago

akarelas commented 11 years ago

It doesn't say anywhere.

For example: how do I choose whether to make it completely open or only serve a particular jabber server?

twonds commented 11 years ago

There are basic options when using it as a twisted plugin. Run twistd punjab --help for those options. This is in INSTALL.txt

For more detailed configuration you can use a tac file.

See : http://twistedmatrix.com/documents/12.3.0/core/howto/application.html#auto5

and Punjab's example tac file : https://github.com/twonds/punjab/blob/master/punjab.tac

I hope this helps.