fixed geth path
This commit is contained in:
parent
1f2af03c38
commit
145ef34364
@ -6,12 +6,11 @@ sudo apt-get upgrade -y
|
||||
sudo apt-get install -y git mercurial build-essential software-properties-common wget pkg-config libgmp3-dev libreadline6-dev libpcre3-dev libpcre++-dev nodejs npm ntp
|
||||
|
||||
# add ethereum repos
|
||||
sudo add-apt-repository -y ppa:ethereum/ethereum-qt
|
||||
sudo add-apt-repository -y ppa:ethereum/ethereum
|
||||
sudo add-apt-repository -y ppa:ethereum/ethereum-dev
|
||||
sudo apt-get update -y
|
||||
|
||||
#install ethereum
|
||||
# install ethereum
|
||||
sudo apt-get install -y ethereum
|
||||
|
||||
# add node symlink
|
||||
@ -37,4 +36,5 @@ sudo service ntp stop
|
||||
sudo ntpdate -s ntp.ubuntu.com
|
||||
sudo service ntp start
|
||||
EOF
|
||||
|
||||
sudo chmod 755 /etc/cron.hourly/ntpdate
|
||||
|
@ -62,4 +62,5 @@ sudo service ntp stop
|
||||
sudo ntpdate -s ntp.ubuntu.com
|
||||
sudo service ntp start
|
||||
EOF
|
||||
|
||||
sudo chmod 755 /etc/cron.hourly/ntpdate
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
trap "exit" INT
|
||||
if [[ ! -f /home/ubuntu/bin/eth ]];
|
||||
if [[ -f /usr/bin/geth ]];
|
||||
then
|
||||
geth --rpc true --loglevel 1
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user