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

[tor-commits] [tor-cloud/master] Give tor time to stop



commit a952f01a45b0318a2b34ad5f190be6c12b8122fc
Author: Runa A. Sandvik <runa.sandvik@xxxxxxxxx>
Date:   Tue Sep 25 11:11:45 2012 +0100

    Give tor time to stop
---
 ec2-prep.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ec2-prep.sh b/ec2-prep.sh
index f3033ce..7eb2b4a 100644
--- a/ec2-prep.sh
+++ b/ec2-prep.sh
@@ -203,6 +203,7 @@ 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
 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

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