Skip to content

Commit

Permalink
fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
jtschoonhoven committed May 1, 2020
1 parent aef09c0 commit 47ffef1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.24
0.0.25
8 changes: 6 additions & 2 deletions bin/run_tor
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,16 @@ else
erb "${HOME}/tor/torrc.erb" > "${HOME}/tor/etc/tor/torrc"
fi

TOR_HOSTNAME=$(cat "${HOME}/hidden_service/hostname")

# Print some useful info
echo ""
echo "[TOR] ==================================================================="
echo "[TOR] Starting hidden service at $(cat \"${HOME}/hidden_service/hostname\")"
echo "[TOR] Starting hidden service at ${TOR_HOSTNAME}"
echo "[TOR] You may dangerously print your private_key by running this command:"
echo "[TOR] heroku ps:exec --dyno=${DYNO} cat \"${HOME}/hidden_service/private_key\""
echo "[TOR] heroku ps:exec --dyno=${DYNO} 'cat \"${HOME}/hidden_service/private_key\"'"
echo "[TOR] ==================================================================="
echo ""

# Start Tor
"${HOME}/tor/bin/tor" -f "${HOME}/tor/etc/tor/torrc"

0 comments on commit 47ffef1

Please sign in to comment.