From 247a2ac0f869f550022592f80e60c47c93b5cd71 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 11 Jun 2017 12:46:43 +0100 Subject: [PATCH] More info on onion failures --- src/freedombone-app-rss | 2 ++ src/freedombone-utils-onion | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/freedombone-app-rss b/src/freedombone-app-rss index d5b8cabe..ade8c8fc 100755 --- a/src/freedombone-app-rss +++ b/src/freedombone-app-rss @@ -325,6 +325,7 @@ function install_rss_main { RSS_READER_ONION_HOSTNAME=$(add_onion_service rss 80 ${RSS_READER_ONION_PORT}) if [[ "$RSS_READER_ONION_HOSTNAME" != *".onion" ]]; then echo $'Unable to create onion address for rss reader site' + echo "$RSS_READER_ONION_HOSTNAME" exit 7352582 fi @@ -333,6 +334,7 @@ function install_rss_main { RSS_MOBILE_READER_ONION_HOSTNAME=$(add_onion_service rss_mobile 80 ${RSS_MOBILE_READER_ONION_PORT}) if [[ "$RSS_MOBILE_READER_ONION_HOSTNAME" != *".onion" ]]; then echo $'Unable to create onion address for rss mobile site' + echo "$RSS_MOBILE_READER_ONION_HOSTNAME" exit 7639532 fi diff --git a/src/freedombone-utils-onion b/src/freedombone-utils-onion index ea4303a1..30924e50 100755 --- a/src/freedombone-utils-onion +++ b/src/freedombone-utils-onion @@ -147,7 +147,7 @@ function add_onion_service { if [[ $(onion_service_exists ${onion_service_name}) == "0" ]]; then echo $"${onion_service_name} onion site hostname not found" - exit 76362 + exit 763624 fi onion_address=$(cat /var/lib/tor/hidden_service_${onion_service_name}/hostname)