File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/bash
2+ set -xeuo pipefail
23
34export WORKING_DIR=/home/ubuntu/gopath/src/github.com/CovenantSQL/CovenantSQL
45export RUNNING_DIR=$( cd ` dirname $0 ` ; pwd)
@@ -9,5 +10,5 @@ if [[ ! -d "$LOG_DIR" ]]; then
910 exit 1
1011fi
1112
12- sh -x ./scripts/clean.sh
13- sh -x ./scripts/start.sh
13+ ./scripts/clean.sh
14+ ./scripts/start.sh
Original file line number Diff line number Diff line change 11#! /bin/bash
2+ set -x
23
34if [ -z " $WORKING_DIR " ]; then
45 WORKING_DIR=/home/ubuntu/gopath/src/github.com/CovenantSQL/CovenantSQL
Original file line number Diff line number Diff line change 11#! /bin/bash
2+ set -xeuo pipefail
23
34if [ -z " $WORKING_DIR " ]; then
45 WORKING_DIR=/home/ubuntu/gopath/src/github.com/CovenantSQL/CovenantSQL
1213
1314# Prepare
1415cp -r ${RUNNING_DIR} /docker-compose.yml ${WORKING_DIR}
15- cat /etc/hosts ${RUNNING_DIR} /hosts newhosts
16+ cat /etc/hosts ${RUNNING_DIR} /hosts > newhosts
1617sudo mv newhosts /etc/hosts
1718cp -r ${RUNNING_DIR} /node_miner_0 /data
1819cp -r ${RUNNING_DIR} /node_miner_1 /data
You can’t perform that action at this time.
0 commit comments