From e43c97ee2d5d48b0b99c2a9d4ea8d13d9df2a79f Mon Sep 17 00:00:00 2001 From: Jae Kwon Date: Sun, 17 May 2015 19:33:13 -0700 Subject: [PATCH] nohup barak in INSTALL; echo commands --- INSTALL/README.md | 2 +- INSTALL/install_env.sh | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/INSTALL/README.md b/INSTALL/README.md index 56b8746b4..31f77a3cc 100644 --- a/INSTALL/README.md +++ b/INSTALL/README.md @@ -21,7 +21,7 @@ WARNING: THIS STEP WILL GIVE CONTROL OF THE CURRENT USER TO THE DEV TEAM. go get -u github.com/tendermint/tendermint/cmd/barak # get+update go install github.com/tendermint/tendermint/cmd/barak # install - cat $GOPATH/src/github.com/tendermint/tendermint/cmd/barak/seed0 | barak + nohup barak -options-file="$GOPATH/src/github.com/tendermint/tendermint/cmd/barak/seed0" & ### Install/Update Tendermint diff --git a/INSTALL/install_env.sh b/INSTALL/install_env.sh index 1f1974b82..d3f3c0931 100755 --- a/INSTALL/install_env.sh +++ b/INSTALL/install_env.sh @@ -28,6 +28,7 @@ apt-get install -y make screen gcc git mercurial libc6-dev pkg-config libgmp-dev # set up firewall echo "ENABLE FIREWALL ..." +set -x # white list ssh access for ip in "${WHITELIST[@]}"; do ufw allow from $ip to any port $SSH_PORT @@ -40,7 +41,9 @@ for port in "${OPEN_PORTS[@]}"; do ufw allow $port done # apply -ufw enable +ufw --force enable +set +x +# set up firewall END # watch the logs and have them emailed to me # apt-get install -y logwatch