From 161a14934c70a45013a4f062b68412a6d6a9b696 Mon Sep 17 00:00:00 2001 From: Sebastian <379651+czarly@users.noreply.github.com> Date: Thu, 6 Mar 2025 10:39:33 +0100 Subject: [PATCH] fix the entrypoint to not crash the node --- fantom/scripts/entrypoint-fullnode.sh | 2 +- fantom/scripts/entrypoint.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fantom/scripts/entrypoint-fullnode.sh b/fantom/scripts/entrypoint-fullnode.sh index 2d387dd6..00257664 100644 --- a/fantom/scripts/entrypoint-fullnode.sh +++ b/fantom/scripts/entrypoint-fullnode.sh @@ -25,7 +25,7 @@ else echo "Node key already exists, skipping generation." fi -opera \ +exec opera \ --genesis=$FANTOM_HOME/mainnet-171200-no-history.g \ --port=19921 \ --maxpeers=200 \ diff --git a/fantom/scripts/entrypoint.sh b/fantom/scripts/entrypoint.sh index c73d43c3..47a90c18 100644 --- a/fantom/scripts/entrypoint.sh +++ b/fantom/scripts/entrypoint.sh @@ -22,7 +22,7 @@ fi # uncomment the next line and do docker-compose build in case you have to try to fix the db after unclean shutdown etc. # opera --db.preset pbl-1 --datadir=$FANTOM_HOME db heal --experimental -opera \ +exec opera \ --genesis=$FANTOM_HOME/mainnet-5577-full-mpt.g \ --port=5050 \ --maxpeers=200 \