[tor-commits] [tor-cloud/master] Wait 30s between reloading,	stopping, and starting
    runa at torproject.org 
    runa at torproject.org
       
    Tue Sep 25 11:56:48 UTC 2012
    
    
  
commit c5d5c227364a57b2fede8dcaea1e1f21f5c8633f
Author: Runa A. Sandvik <runa.sandvik at gmail.com>
Date:   Tue Sep 25 12:56:38 2012 +0100
    Wait 30s between reloading, stopping, and starting
---
 ec2-prep.sh |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/ec2-prep.sh b/ec2-prep.sh
index 5c6e42d..4de2241 100644
--- a/ec2-prep.sh
+++ b/ec2-prep.sh
@@ -202,7 +202,9 @@ EOF
 
 # Edit /var/lib/tor/state and change the obfs port
 /etc/init.d/tor reload
+sleep 30s
 /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
    
    
More information about the tor-commits
mailing list