Install znc from backports

This commit is contained in:
Bob Mottram 2016-10-28 20:24:36 +01:00
parent a141e818e8
commit 360793c6a2
1 changed files with 2 additions and 2 deletions

View File

@ -582,14 +582,14 @@ function install_irc_bouncer {
return return
fi fi
apt-get -yq install znc apt-get -yq -t jessie-backports install znc
adduser --disabled-login --gecos 'znc' znc adduser --disabled-login --gecos 'znc' znc
mkdir -p /home/znc/.znc/configs mkdir -p /home/znc/.znc/configs
mkdir -p /home/znc/.znc/users mkdir -p /home/znc/.znc/users
echo 'Version = 1.4' > /home/znc/.znc/configs/znc.conf echo 'Version = 1.6.2' > /home/znc/.znc/configs/znc.conf
echo '<Listener l>' >> /home/znc/.znc/configs/znc.conf echo '<Listener l>' >> /home/znc/.znc/configs/znc.conf
echo " Port = $IRC_BOUNCER_PORT" >> /home/znc/.znc/configs/znc.conf echo " Port = $IRC_BOUNCER_PORT" >> /home/znc/.znc/configs/znc.conf
echo ' IPv4 = true' >> /home/znc/.znc/configs/znc.conf echo ' IPv4 = true' >> /home/znc/.znc/configs/znc.conf