More info on onion failures

This commit is contained in:
Bob Mottram 2017-06-11 12:46:43 +01:00
parent 8241153b29
commit 247a2ac0f8
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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)