Drop sudo, it's now handled internally by the block explorer
This commit is contained in:
parent
65fb307d0f
commit
858068cdc0
|
@ -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 &
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Reference in New Issue