Run socat in the background
This commit is contained in:
parent
1d689e84f1
commit
61db74d98e
|
@ -409,6 +409,7 @@ stopNode() {
|
|||
for pattern in solana- remote-; do
|
||||
pkill -9 \$pattern
|
||||
done
|
||||
sudo killall socat
|
||||
"
|
||||
) || true
|
||||
}
|
||||
|
|
|
@ -116,7 +116,7 @@ local|tar)
|
|||
if [[ $nodeType = blockstreamer ]]; then
|
||||
npm install @solana/blockexplorer@1
|
||||
npx solana-blockexplorer > blockexplorer.log 2>&1 &
|
||||
sudo socat TCP-LISTEN:80,reuseaddr,fork,su=nobody TCP:localhost:5000
|
||||
sudo socat -lf socat.log TCP-LISTEN:80,reuseaddr,fork,su=nobody TCP:localhost:5000 &
|
||||
fi
|
||||
./multinode-demo/fullnode.sh "${args[@]}" "$entrypointIp":~/solana "$entrypointIp:8001" > fullnode.log 2>&1 &
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue