packages/net/znc/files/znc.conf
jogo 91d39ae951 ZNC: Fix webadmin, allow external config and minor fixes
* Fix the webadmin module and add the themes

 * Allow providing ZNC an external config (closes #9110)

 * Allow specifying the user and group to run ZNC as (needs su when using
   external config)

 * Allow providing a certificate for incoming SSL connections

 * Reduce buildtime by not rebuilding everything everytime

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@26722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-19 15:11:02 +00:00

27 lines
800 B
Plaintext

config znc
# where to listen for connections
list listener '192.168.1.1 1234'
# If using SSL sockets, use the following certifcate:
# option znc_ssl_cert '/etc/znc.cert'
# load global modules (You need to install them first):
# list module 'fail2ban'
config user 'sampleUser'
# Use either a plain text password or use the full sha256#... line.
# You can generate one with 'znc -s'.
option password 'changeme'
option nick 'sampleUser'
option altnick 'userSample'
option ident 'openwrt'
option realname 'John Doe'
# This adds support for channels in znc configuration:
# list channel '#chan optional_password'
# list of allowed servers:
list server 'chat.freenode.net 6667'
# load user modules ('<module> [params...]'):
# list module 'simple_away -timer 10 disconnected'