create onion address for webmail

This commit is contained in:
Bob Mottram 2016-04-25 19:17:15 +01:00
parent ab992fffd5
commit b067a9b2f6
1 changed files with 2 additions and 5 deletions

View File

@ -8887,11 +8887,8 @@ function install_webmail {
exit 52825
fi
WEBMAIL_ONION_HOSTNAME=
if [[ $ONION_ONLY != "no" ]]; then
WEBMAIL_ONION_HOSTNAME=$(add_onion_service webmail 80 ${WEBMAIL_ONION_PORT})
echo "Webmail onion domain:${WEBMAIL_ONION_HOSTNAME}" >> $COMPLETION_FILE
fi
WEBMAIL_ONION_HOSTNAME=$(add_onion_service webmail 80 ${WEBMAIL_ONION_PORT})
echo "Webmail onion domain:${WEBMAIL_ONION_HOSTNAME}" >> $COMPLETION_FILE
get_mariadb_webmail_admin_password
if [ ! $WEBMAIL_ADMIN_PASSWORD ]; then