Include onion domain in irc bouncer config
This commit is contained in:
parent
c797c0f94d
commit
1159ea271a
|
@ -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 " <Chan ${PROJECT_NAME}>" >> /home/znc/.znc/config/znc.conf
|
||||
echo ' </Chan>' >> /home/znc/.znc/config/znc.conf
|
||||
|
|
Loading…
Reference in New Issue