From 73e52c4eed7071bcf8ec0bccd43b12b76162a459 Mon Sep 17 00:00:00 2001 From: David Boreham Date: Sun, 6 Aug 2023 11:41:39 -0600 Subject: [PATCH] Add call to cleanup function (#486) --- 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" \