From 9240f424e1bcf5a18b9ee29ed71e8a639e24e7ba Mon Sep 17 00:00:00 2001 From: Uncle Stinky Date: Sun, 3 Aug 2025 18:43:49 +0300 Subject: [PATCH] prepare starter script for the production Signed-off-by: Uncle Stinky --- scripts/starter.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/starter.sh b/scripts/starter.sh index e29579d..aaeb09e 100755 --- a/scripts/starter.sh +++ b/scripts/starter.sh @@ -229,6 +229,7 @@ if [[ $HARD_RESET = true ]]; then sudo rm -rf "$BASE_PATH/chains/casper_staging_testnet" cd $PROJECT_FOLDER + git pull origin main echo "[+] starting build in 3 seconds..." sleep 3 cargo build --release @@ -244,9 +245,8 @@ if [[ $HARD_RESET = true ]]; then echo "[+] ghost executable copied in '$EXECUTABLE_PATH' from '$TARGET'" echo "[+] specification '$SPECIFICATION_NAME.json' copied to '$SPECIFICATION_PATH'" - # TODO: uncomment later - # echo "[+] starting ghost-node" - # sudo systemctl start ghost-node + echo "[+] starting ghost-node" + sudo systemctl start ghost-node exit 0 fi