diff --git a/bin/eth.sh b/bin/eth.sh index e62c4d9..246e056 100755 --- a/bin/eth.sh +++ b/bin/eth.sh @@ -24,8 +24,8 @@ then elif [[ -f $(which eth 2>/dev/null) ]] then echo "Starting eth" - echo eth --bootstrap --peers 50 --remote 52.16.188.185:30303 --mining off --json-rpc -v 5 --public-ip $IP --listen-ip $LOCALIP - eth --bootstrap --peers 50 --remote 52.16.188.185:30303 --mining off --json-rpc -v 5 --public-ip $IP --listen-ip $LOCALIP + echo eth --bootstrap --peers 50 --remote 52.16.188.185:30303 --mining off --json-rpc -v 5 --public-ip $IP --listen-ip $LOCALIP --master $1 + eth --bootstrap --peers 50 --remote 52.16.188.185:30303 --mining off --json-rpc -v 5 --public-ip $IP --listen-ip $LOCALIP --master $1 else echo "Ethereum was not found!" exit 1; diff --git a/processes-ec2.json b/processes-ec2.json index 794be48..f90fc7f 100644 --- a/processes-ec2.json +++ b/processes-ec2.json @@ -3,6 +3,7 @@ "name" : "eth", "cwd" : "/home/ubuntu/bin/www/", "script" : "bin/eth.sh", + "args" : "ethpassword", "log_date_format" : "YYYY-MM-DD HH:mm Z", "log_file" : "/home/ubuntu/logs/eth-log.log", "out_file" : "/home/ubuntu/logs/eth-out.log",