From 7a615dc68248f5132f91d3e06ce4b4b59a876354 Mon Sep 17 00:00:00 2001 From: David Boreham Date: Sun, 6 Aug 2023 10:08:17 -0600 Subject: [PATCH] Add call to cleanup function --- app/data/config/mainnet-eth/scripts/run-geth.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/data/config/mainnet-eth/scripts/run-geth.sh b/app/data/config/mainnet-eth/scripts/run-geth.sh index c249618b..3844ef99 100755 --- a/app/data/config/mainnet-eth/scripts/run-geth.sh +++ b/app/data/config/mainnet-eth/scripts/run-geth.sh @@ -23,6 +23,8 @@ cleanup() { echo "Done" } +trap 'cleanup' SIGINT SIGTERM + $START_CMD \ --datadir="${CERC_ETH_DATADIR}" \ --authrpc.addr="0.0.0.0" \