mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
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>
This commit is contained in:
+11
-3
@@ -1,7 +1,5 @@
|
||||
config znc
|
||||
# where to listen for connections
|
||||
list listener '192.168.1.1 1234'
|
||||
# If using SSL sockets, use the following certifcate:
|
||||
# If using SSL sockets, use the following certificate:
|
||||
# option znc_ssl_cert '/etc/znc.cert'
|
||||
|
||||
# load global modules (You need to install them first):
|
||||
@@ -10,6 +8,16 @@ config znc
|
||||
# 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'.
|
||||
|
||||
Reference in New Issue
Block a user