From ed9e770c693ff2fc98f1064359d5dee0587e8573 Mon Sep 17 00:00:00 2001 From: alok Date: Tue, 12 Jun 2018 22:49:59 -0700 Subject: [PATCH] inserted gopath into deploy so that path is available --- aws-scripts/run_instances.sh | 3 --- deploy_linux.sh | 6 ++++++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/aws-scripts/run_instances.sh b/aws-scripts/run_instances.sh index 3e17f88de..111c6a1c7 100755 --- a/aws-scripts/run_instances.sh +++ b/aws-scripts/run_instances.sh @@ -1,7 +1,4 @@ #!/bin/bash -x cd /home/ec2-user/projects/src/harmony-benchmark -# GOROOT is the location where Go package is installed on your system -source ~/.bash_profile - ./deploy_linux.sh local_iplist.txt ./send_txn.sh \ No newline at end of file diff --git a/deploy_linux.sh b/deploy_linux.sh index 07c973478..ce0ad24c8 100755 --- a/deploy_linux.sh +++ b/deploy_linux.sh @@ -1,3 +1,4 @@ +#!/bin/bash -x ##The commented suffix is for linux ##Reference: https://github.com/Zilliqa/Zilliqa/blob/master/tests/Node/test_node_simple.sh sudo sysctl net.core.somaxconn=1024 @@ -8,6 +9,11 @@ sudo sysctl -w net.ipv4.tcp_wmem='65536 873800 1534217728'; sudo sysctl -w net.ipv4.tcp_mem='65536 873800 1534217728'; ./kill_node.sh +source ~/.bash_profile +echo "Inside deploy linux" +echo $GOPATH +echo "Inside deploy linux line 2" + ipfile=$1 while read ip port mode; do #echo $ip $port $mode $ipfile