Include onion domain in irc bouncer config

This commit is contained in:
Bob Mottram 2016-10-28 15:58:34 +01:00
parent c797c0f94d
commit 1159ea271a
1 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,7 @@ irc_variables=(MY_USERNAME
IRC_PORT IRC_PORT
IRC_BOUNCER_PORT IRC_BOUNCER_PORT
IRC_PASSWORD IRC_PASSWORD
IRC_ONION_HOSTNAME
IRC_OPERATOR_PASSWORD IRC_OPERATOR_PASSWORD
DEFAULT_DOMAIN_NAME DEFAULT_DOMAIN_NAME
INSTALLED_WITHIN_DOCKER INSTALLED_WITHIN_DOCKER
@ -122,6 +123,7 @@ function add_user_irc_bouncer {
echo ' LoadModule = simple_away' >> /home/znc/.znc/config/znc.conf echo ' LoadModule = simple_away' >> /home/znc/.znc/config/znc.conf
echo '' >> /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 = ${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 " <Chan ${PROJECT_NAME}>" >> /home/znc/.znc/config/znc.conf echo " <Chan ${PROJECT_NAME}>" >> /home/znc/.znc/config/znc.conf
echo ' </Chan>' >> /home/znc/.znc/config/znc.conf echo ' </Chan>' >> /home/znc/.znc/config/znc.conf