From ddcc3b6cdbff3cac44b6c8d26a586065f71dd943 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 24 Dec 2016 15:28:18 +0000 Subject: [PATCH] Set onion domain --- src/freedombone-app-mediagoblin | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/freedombone-app-mediagoblin b/src/freedombone-app-mediagoblin index bfa24a29..e1cba811 100755 --- a/src/freedombone-app-mediagoblin +++ b/src/freedombone-app-mediagoblin @@ -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 }