Skip to content
Snippets Groups Projects
Commit 247a2ac0 authored by Bob Mottram's avatar Bob Mottram
Browse files

More info on onion failures

parent 8241153b
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment