From c0caccdc25e9c3bc1217da75b31d92338fff3298 Mon Sep 17 00:00:00 2001 From: jtschoonhoven Date: Thu, 30 Apr 2020 13:17:39 -0700 Subject: [PATCH] move torrc out of bp --- VERSION | 2 +- bin/compile | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/VERSION b/VERSION index 43b2961..9789c4c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.0.13 +0.0.14 diff --git a/bin/compile b/bin/compile index aaffc6f..61fc9c9 100755 --- a/bin/compile +++ b/bin/compile @@ -105,15 +105,14 @@ echo "Setting up hidden service" cat > ${HOME}/hidden_service/private_key < ${HOME}/hidden_service/hostname -echo "HiddenServiceDir ${HOME}/hidden_service/" > $HOME/tor/etc/tor/torrc -echo "HiddenServicePort 80 127.0.0.1:8080" >> $HOME/tor/etc/tor/torrc -echo "HiddenServicePort 443 127.0.0.1:8081" >> $HOME/tor/etc/tor/torrc -echo "HiddenServiceVersion 2" >> $HOME/tor/etc/tor/torrc +echo "Compiling torrc" +erb config/torrc.erb > ${HOME}/tor/etc/tor/torrc # Use -f to be safe here. -$HOME/tor/bin/tor -f $HOME/tor/etc/tor/torrc +$HOME/tor/bin/tor -f ${HOME}/tor/etc/tor/torrc EOF chmod a+x ${BUILD_DIR}/tor/bin/${RUN_COMMAND}