From 1159ea271afdee8c946f6bb48ba893294af67c3a Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 28 Oct 2016 15:58:34 +0100 Subject: [PATCH] Include onion domain in irc bouncer config --- src/freedombone-app-irc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/freedombone-app-irc b/src/freedombone-app-irc index ba5dc53f..7a33ddbf 100755 --- a/src/freedombone-app-irc +++ b/src/freedombone-app-irc @@ -45,6 +45,7 @@ irc_variables=(MY_USERNAME IRC_PORT IRC_BOUNCER_PORT IRC_PASSWORD + IRC_ONION_HOSTNAME IRC_OPERATOR_PASSWORD DEFAULT_DOMAIN_NAME INSTALLED_WITHIN_DOCKER @@ -122,6 +123,7 @@ function add_user_irc_bouncer { echo ' LoadModule = simple_away' >> /home/znc/.znc/config/znc.conf echo '' >> /home/znc/.znc/config/znc.conf echo " Server = ${DEFAULT_DOMAIN_NAME} +${IRC_PORT}" >> /home/znc/.znc/config/znc.conf + echo " Server = ${IRC_ONION_HOSTNAME} +${IRC_PORT}" >> /home/znc/.znc/config/znc.conf echo '' >> /home/znc/.znc/config/znc.conf echo " " >> /home/znc/.znc/config/znc.conf echo ' ' >> /home/znc/.znc/config/znc.conf