Run socat in the background
This commit is contained in:
@ -409,6 +409,7 @@ stopNode() {
|
|||||||
for pattern in solana- remote-; do
|
for pattern in solana- remote-; do
|
||||||
pkill -9 \$pattern
|
pkill -9 \$pattern
|
||||||
done
|
done
|
||||||
|
sudo killall socat
|
||||||
"
|
"
|
||||||
) || true
|
) || true
|
||||||
}
|
}
|
||||||
|
@ -116,7 +116,7 @@ local|tar)
|
|||||||
if [[ $nodeType = blockstreamer ]]; then
|
if [[ $nodeType = blockstreamer ]]; then
|
||||||
npm install @solana/blockexplorer@1
|
npm install @solana/blockexplorer@1
|
||||||
npx solana-blockexplorer > blockexplorer.log 2>&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
|
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 &
|
||||||
;;
|
;;
|
||||||
|
Reference in New Issue
Block a user