1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-18 21:33:53 +02:00
openwrt-packages/net/znc/files/znc.conf
Pavel Demkovich dd586837e8 znc: Add support for many configurable listeners for znc
Function add_listener called from /etc/init.d/znc, but not implemented

Signed-off-by: Pavel Demkovich <finn@finnix.servebeer.com>
2020-10-13 15:40:11 +03:00

38 lines
1.0 KiB
Plaintext

config znc
# If using SSL sockets, use the following certificate:
# option znc_ssl_cert '/etc/znc.cert'
# load global modules (You need to install them first):
# list module 'fail2ban'
# remove this to enable the service
option disabled 1
config listener 'sampleListener'
option allowirc 'true'
option allowweb 'false'
option host '192.168.1.1'
option port '1234'
option ipv4 'true'
option ipv6 'false'
# you must set option_ssl_cert in znc section before change
option ssl 'false'
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'