diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-10-25 03:18:20 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-10-25 03:18:20 +0000 |
commit | cd59eb1d7f5b1134ca249e205423387973e9b745 (patch) | |
tree | 81983d3f66ce14cdac1e7076004b0a804ba6e78e /sca-cpp/trunk/samples/store-cluster | |
parent | a2a2cb76e9582af32b6803be7fa99af074dc04ae (diff) |
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
Diffstat (limited to 'sca-cpp/trunk/samples/store-cluster')
-rwxr-xr-x | sca-cpp/trunk/samples/store-cluster/ssl-start | 12 | ||||
-rwxr-xr-x | sca-cpp/trunk/samples/store-cluster/start | 4 |
2 files changed, 8 insertions, 8 deletions
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 |