Skip to content

Commit

Permalink
Add call to cleanup function
Browse files Browse the repository at this point in the history
  • Loading branch information
dboreham committed Aug 6, 2023
1 parent e856616 commit 7a615dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/data/config/mainnet-eth/scripts/run-geth.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ cleanup() {
echo "Done"
}

trap 'cleanup' SIGINT SIGTERM

$START_CMD \
--datadir="${CERC_ETH_DATADIR}" \
--authrpc.addr="0.0.0.0" \
Expand Down

0 comments on commit 7a615dc

Please sign in to comment.