From LedHed's Wiki
Jump to: navigation, search
(Created page with "How to install znc (IRC Bouncer/Proxy) the right way on FreeBSD. == Install == pkg install znc == Create Service Account == pw adduser znc -d /nonexistent -s /usr/sbin/nol...")
(No difference)

Revision as of 06:40, 6 August 2014

How to install znc (IRC Bouncer/Proxy) the right way on FreeBSD.

Install

pkg install znc


Create Service Account

pw adduser znc -d /nonexistent -s /usr/sbin/nologin -c "ZNC user"


Config

Add the following lines to your /etc/rc.conf

znc_enable="YES"
znc_conf_dir="/usr/local/etc/znc"
znc_user="znc"

Create the config folder and set ownership

mkdir /usr/local/etc/znc
chown znc /usr/local/etc/znc

Generate the default config file

su -m znc -c "znc --makeconf --datadir=/usr/local/etc/znc"


Reference

http://aazza.github.io/2014/06/01/installing-znc-on-freebsd/