Ensure blockexplorer comes back up when nodes are updated instead of restarted

This commit is contained in:
Michael Vines 2019-02-17 20:07:12 -08:00
parent d850f67979
commit 2793404116
No known key found for this signature in database
GPG Key ID: 33F4FDEC4E0E88BD
1 changed files with 1 additions and 4 deletions

View File

@ -191,13 +191,10 @@ local|tar)
set -x
if [[ $skipSetup != true ]]; then
./multinode-demo/setup.sh -t fullnode $setupArgs
if [[ $nodeType = apinode ]]; then
npm install @solana/blockexplorer
fi
fi
if [[ $nodeType = apinode ]]; then
npm install @solana/blockexplorer
npx solana-blockexplorer > blockexplorer.log 2>&1 &
fi
./multinode-demo/fullnode.sh "${args[@]}" "$entrypointIp":~/solana "$entrypointIp:8001" > fullnode.log 2>&1 &