Set onion domain

This commit is contained in:
Bob Mottram 2016-12-24 15:28:18 +00:00
parent 0d7200b9d8
commit ddcc3b6cdb
1 changed files with 2 additions and 3 deletions

View File

@ -302,6 +302,8 @@ function install_mediagoblin {
MEDIAGOBLIN_ONION_HOSTNAME=$(add_onion_service mediagoblin 80 ${MEDIAGOBLIN_ONION_PORT})
set_completion_param "mediagoblin domain" "${MEDIAGOBLIN_DOMAIN_NAME}"
set_completion_param "mediagoblin onion domain" "$MEDIAGOBLIN_ONION_HOSTNAME"
set_completion_param "mediagoblin commit" "$MEDIAGOBLIN_COMMIT"
if [[ $ONION_ONLY == "no" ]]; then
function_check nginx_http_redirect
@ -490,9 +492,6 @@ function install_mediagoblin {
function_check add_ddns_domain
add_ddns_domain $MEDIAGOBLIN_DOMAIN_NAME
set_completion_param "mediagoblin domain" "$MEDIAGOBLIN_DOMAIN_NAME"
set_completion_param "mediagoblin commit" "$MEDIAGOBLIN_COMMIT"
APP_INSTALLED=1
}