From a7ffc8aa1e3b12d6fb41b8a6f147ae6916cc3340 Mon Sep 17 00:00:00 2001 From: cubedro Date: Tue, 12 May 2015 07:14:39 +0300 Subject: [PATCH] added password argument for eth --- bin/eth.sh | 4 ++-- processes-ec2.json | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) 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",