Drop sudo, it's now handled internally by the block explorer

This commit is contained in:
Michael Vines 2019-02-17 12:29:53 -08:00
parent 65fb307d0f
commit 858068cdc0
No known key found for this signature in database
GPG Key ID: 33F4FDEC4E0E88BD
1 changed files with 7 additions and 5 deletions

View File

@ -182,7 +182,10 @@ local|tar)
args+=("--no-leader-rotation") args+=("--no-leader-rotation")
fi fi
if [[ $nodeType = apinode ]]; then if [[ $nodeType = apinode ]]; then
args+=(--entry-stream /tmp/solana-entry-stream.sock) args+=(
--entry-stream /tmp/solana-entry-stream.sock
--no-signer
)
fi fi
set -x set -x
@ -194,10 +197,9 @@ local|tar)
fi fi
fi fi
# Run blockexplorer as root so it can bind to port 80 if [[ $nodeType = apinode ]]; then
# shellcheck disable=SC2024 # "sudo doesn't affect redirects" warning does not apply npx solana-blockexplorer > blockexplorer.log 2>&1 &
sudo npx solana-blockexplorer > blockexplorer.log 2>&1 & fi
./multinode-demo/fullnode.sh "${args[@]}" "$entrypointIp":~/solana "$entrypointIp:8001" > fullnode.log 2>&1 & ./multinode-demo/fullnode.sh "${args[@]}" "$entrypointIp":~/solana "$entrypointIp:8001" > fullnode.log 2>&1 &
;; ;;
*) *)