[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-cloud/master] Make sure Tor knows about the new port



commit 1b55c2a82639e2490277fb3759c5c6d58971d1d5
Author: Runa A. Sandvik <runa.sandvik@xxxxxxxxx>
Date:   Tue Sep 25 11:49:14 2012 +0100

    Make sure Tor knows about the new port
---
 ec2-prep.sh |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ec2-prep.sh b/ec2-prep.sh
index 7eb2b4a..5c6e42d 100644
--- a/ec2-prep.sh
+++ b/ec2-prep.sh
@@ -203,8 +203,9 @@ EOF
 # Edit /var/lib/tor/state and change the obfs port
 /etc/init.d/tor reload
 /etc/init.d/tor stop
-sleep 30s
 sed -i 's/TransportProxy.*/TransportProxy obfs2 0.0.0.0:52176/' /var/lib/tor/state
+/etc/init.d/tor start
+sleep 30s
 echo "Done configuring the system, will reboot"
 echo "Your system has been configured as a Tor obfsproxy bridge, see https://cloud.torproject.org/ for more info" > /etc/ec2-prep.sh
 reboot

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits