Skip to content

Commit d71d4f6

Browse files
committed
Update entrypoint
1 parent 1aae550 commit d71d4f6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

init-geth.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,12 @@ echo " Transaction History: $TX_HISTORY blocks"
105105
echo " Cache Size: $CACHE_SIZE MB"
106106
echo " Preimages: $ENABLE_PREIMAGES"
107107

108+
# Remove any stale IPC socket from a previous run
109+
if [ -S /root/ethereum/geth.ipc ]; then
110+
echo "Removing stale IPC socket from previous run"
111+
rm -f /root/ethereum/geth.ipc || true
112+
fi
113+
108114
# Start geth in background to fix IPC permissions
109115
geth \
110116
--datadir /root/ethereum \

0 commit comments

Comments
 (0)