nimbus-eth1-blobs/scripts/run-beacon-any.sh

25 lines
432 B
Bash
Raw Normal View History

2022-03-25 10:57:34 +00:00
#! /bin/sh
#
# Example running four sessions simultaneously.
#
# Usage:
#
# start as "sh run-beacon-any.sh start"
#
# stop as "sh run-beacon-any.sh stop"
#
# or clean up as "sh run-beacon-any.sh stop flush"
#
export BEACON_SESSION_SELF=`basename "$0"`
for instance in 0 1 2 3
do (
export BEACON_SESSION_INSTANCE=$instance
sh ../nimbus-eth1-blobs/scripts/run-beacon-session.sh "$@"
sleep 1
)
done
# End