Example configuration
Configuration files are normaly placed in /etc/uhub/ on Unix systems, and consist of the main configuration file:
- uhub.conf
- The main configuration file
- plugins.conf
- The plugin configuration file
Example: uhub.conf
hub_name=My Public Hub
hub_description=Yet another ADC hub
server_port=12345
server_bind_addr=any
max_users=150
Example: plugins.conf
plugin /var/lib/uhub/mod_auth_sqlite.so "file=/etc/uhub/users.db"
plugin /var/lib/uhub/mod_logging.so "file=/var/log/uhub/uhub.log"
plugin /var/lib/uhub/mod_welcome.so "motd=/etc/uhub/motd.txt rules=/etc/uhub/rules.txt"
plugin /var/lib/uhub/mod_chat_history.so "history_max=200 history_default=10 history_connect=5"