From cd59eb1d7f5b1134ca249e205423387973e9b745 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Mon, 25 Oct 2010 03:18:20 +0000 Subject: Fix invocation of ip-redirect commands as they need sudo to execute. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1026940 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/samples/store-cluster/ssl-start | 12 ++++++------ sca-cpp/trunk/samples/store-cluster/start | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'sca-cpp/trunk/samples/store-cluster') diff --git a/sca-cpp/trunk/samples/store-cluster/ssl-start b/sca-cpp/trunk/samples/store-cluster/ssl-start index 1347d524a8..13a462bd49 100755 --- a/sca-cpp/trunk/samples/store-cluster/ssl-start +++ b/sca-cpp/trunk/samples/store-cluster/ssl-start @@ -106,14 +106,14 @@ sleep 1 ../../modules/http/httpd-start tmp/proxy2 # Redirect traffic from ports 80 and 443 to proxy1 -#../../ubuntu/ip-redirect-all 80 8091 -#../../ubuntu/ip-redirect-all 443 8093 +#sudo ../../ubuntu/ip-redirect-all 80 8091 +#sudo ../../ubuntu/ip-redirect-all 443 8093 # Redirect traffic from ports 80 and 443 to proxy2 -#../../ubuntu/ip-redirect-all 80 8092 -#../../ubuntu/ip-redirect-all 443 8094 +#sudo ../../ubuntu/ip-redirect-all 80 8092 +#sudo ../../ubuntu/ip-redirect-all 443 8094 # Redirect traffic from ports 119 and 563 to tunnel -#../../ubuntu/ip-redirect-all 119 8119 -#../../ubuntu/ip-redirect-all 563 8563 +#sudo ../../ubuntu/ip-redirect-all 119 8119 +#sudo ../../ubuntu/ip-redirect-all 563 8563 diff --git a/sca-cpp/trunk/samples/store-cluster/start b/sca-cpp/trunk/samples/store-cluster/start index 3b8cc673e7..5f233135b3 100755 --- a/sca-cpp/trunk/samples/store-cluster/start +++ b/sca-cpp/trunk/samples/store-cluster/start @@ -72,8 +72,8 @@ sleep 1 ../../modules/http/httpd-start tmp/proxy2 # Redirect traffic from port 80 to proxy1 -#../../ubuntu/ip-redirect-all 80 8091 +#sudo ../../ubuntu/ip-redirect-all 80 8091 # Redirect traffic from port 80 to proxy2 -#../../ubuntu/ip-redirect-all 80 8092 +#sudo ../../ubuntu/ip-redirect-all 80 8092 -- cgit v1.2.3