From LedHed's Wiki
(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...") |
|||
Line 2: | Line 2: | ||
== Install == | == Install == | ||
− | pkg install znc | + | pkg install znc |
+ | or | ||
+ | cd /usr/ports/irc/znc | ||
+ | make install clean | ||
Revision as of 06:41, 6 August 2014
How to install znc (IRC Bouncer/Proxy) the right way on FreeBSD.
Install
pkg install znc
or
cd /usr/ports/irc/znc make install clean
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/