7 Commits

Author SHA1 Message Date
Ralph Siemsen
00feb12444 znc: do not watch znc.conf for changes
ZNC can modify its own config file (znc.conf) during runtime, for
example using controlpanel or webadmin modules. Manually editing the
znc.conf file while znc is running is strongly discouraged.

Thus prodc should not watch this file, it would just lead to znc being
restarted unnecessarily.

As it happens, no restarts were done, because the watched path was
specified incorrectly. It used ZNC_CONFIG instead of ZNC_CONFIG_DIR,
and so it watched /tmp/etc/znc/configs/znc.conf/configs/znc.conf which
does not exist.

Remove the watch of znc.conf as it is not needed.

Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
2025-10-19 16:05:01 +02:00
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
Kevin Darbyshire-Bryant
a6715c17ff znc: run as user znc & use procd
Create & run znc as a specific user rather than nobody.  Converted to
use procd, removing dependencies on znc's 'droproot' module & 'su'

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
2016-11-17 10:28:43 +00:00
Xotic750
00c5191e3c znc: Added RUNAS_SHELL variable to assist when using external configuration
Signed-off-by: Graham Fairweather <xotic750@gmail.com>
2016-06-03 14:56:02 +02:00
Jonas Gorski
d77bf6f1f4 znc: allow setting ssl fingerprints
ZNC 1.6.0 now verifies SSL certificates on connect, and some Servers
do not use a valid one (e.g. freenode).

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
2015-07-01 12:31:48 +02:00
Jonas Gorski
d665caa851 znc: close Network tags
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
2015-07-01 12:27:49 +02:00
Jonas Gorski
6a9cdf5d93 znc: copy from old packages and add PKG_LICENSE
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
2014-07-19 17:20:24 +02:00