ZNC: Fix webadmin, allow external config and minor fixes
[packages.git] / net / znc / files / znc.conf
1 config znc
2         # where to listen for connections
3         list listener   '192.168.1.1 1234'
4         # If using SSL sockets, use the following certifcate:
5         # option znc_ssl_cert '/etc/znc.cert'
6
7         # load global modules (You need to install them first):
8         # list module 'fail2ban'
9
10 config user 'sampleUser'
11         # Use either a plain text password or use the full sha256#... line.
12         # You can generate one with 'znc -s'.
13         option password 'changeme'
14         option nick     'sampleUser'
15         option altnick  'userSample'
16         option ident    'openwrt'
17         option realname 'John Doe'
18
19         # This adds support for channels in znc configuration:
20         # list channel    '#chan optional_password'
21
22         # list of allowed servers:
23         list server     'chat.freenode.net 6667'
24
25         # load user modules ('<module> [params...]'):
26         # list module 'simple_away -timer 10 disconnected'