Includes a full build script (install.sh) and a pre-build configuration script (setup.sh).
The *-killable.sh scripts (may need to change that name) have two purposes:
If you retrieve their PID in another script, and use it to kill them, they will ensure the underlying node is also killed.
They redirect their output to log files in the logs directory.
This makes it pretty useful to:
use in other scripts (e.g. install) where we need to close the nodes
to run the nodes in the background from the command line (./start-l1-geth-killable.sh &)
We could consider replacing the normal scripts with those (to still log in the terminal, you can just do e.g. tail -f logs/l1-geth.log). But doesn't matter so much.
A discrepancy between start-l1-geth-killable.sh and start-l1-geth.sh: I don't re-import the signer each time the command is run.
Includes a full build script (
install.sh
) and a pre-build configuration script (setup.sh
).The
*-killable.sh
scripts (may need to change that name) have two purposes:logs
directory.This makes it pretty useful to:
install
) where we need to close the nodes./start-l1-geth-killable.sh &
)We could consider replacing the normal scripts with those (to still log in the terminal, you can just do e.g.
tail -f logs/l1-geth.log
). But doesn't matter so much.A discrepancy between
start-l1-geth-killable.sh
andstart-l1-geth.sh
: I don't re-import the signer each time the command is run.