From 6ba821f72146990987462b19bcb41129c7899b60 Mon Sep 17 00:00:00 2001 From: squidbear <379651+czarly@users.noreply.github.com> Date: Mon, 31 Mar 2025 09:15:08 +0200 Subject: [PATCH] fix --- viction/node/viction-mainnet-node-archive-leveldb-hash.yml | 2 +- viction/node/viction-mainnet-node-pruned-leveldb-hash.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/viction/node/viction-mainnet-node-archive-leveldb-hash.yml b/viction/node/viction-mainnet-node-archive-leveldb-hash.yml index d5d1eaa3..ebfb9819 100644 --- a/viction/node/viction-mainnet-node-archive-leveldb-hash.yml +++ b/viction/node/viction-mainnet-node-archive-leveldb-hash.yml @@ -4,7 +4,7 @@ services: image: alpine:latest volumes: - viction-mainnet-node-archive-leveldb-hash:/tomochain/data - entrypoint: ["sh", "-c", "apk add --no-cache wget tar zstd && echo 'Running with wget, tar, and zstd' && eval \"$SNAPSHOT_CMD\""] + entrypoint: ["sh", "-c", "apk add --no-cache wget tar zstd && echo 'Running with wget, tar, and zstd' && eval \"$SNAPSHOT_CMD\" && tail -f /dev/null"] restart: "no" environment: SNAPSHOT_CMD: 'mkdir -p /tomochain/data/tomo/chaindata; rm -rf /tomochain/data/tomo/chaindata/*; wget -c https://snapshot.viction.xyz/archive-node/CHAIN_DATA.tar.zst -O - | tar zstd xvf -C /tomochain/data/tomo/chaindata; mkdir -p /tomochain/dats/tomox; rm -rf /tomochain/data/tomox/*; wget -c https://snapshot.viction.xyz/archive-node/TOMOX_DATA.tar.zst -O - | tar zstd xvf -C /tomochain/data/tomox' diff --git a/viction/node/viction-mainnet-node-pruned-leveldb-hash.yml b/viction/node/viction-mainnet-node-pruned-leveldb-hash.yml index 680c9ee4..98e3d4d7 100644 --- a/viction/node/viction-mainnet-node-pruned-leveldb-hash.yml +++ b/viction/node/viction-mainnet-node-pruned-leveldb-hash.yml @@ -4,7 +4,7 @@ services: image: alpine:latest volumes: - viction-mainnet-node-pruned-leveldb-hash:/tomochain/data - entrypoint: ["sh", "-c", "apk add --no-cache wget tar zstd && echo 'Running with wget, tar, and zstd' && eval \"$SNAPSHOT_CMD\""] + entrypoint: ["sh", "-c", "apk add --no-cache wget tar zstd && echo 'Running with wget, tar, and zstd' && eval \"$SNAPSHOT_CMD\" && tail -f /dev/null"] restart: "no" environment: SNAPSHOT_CMD: 'mkdir -p /tomochain/data/tomo/chaindata; rm -rf /tomochain/data/tomo/chaindata/*; wget -c https://snapshot.viction.xyz/CHAIN_DATA.tar.zst -O - | tar zstd xvf -C /tomochain/data/tomo/chaindata; mkdir -p /tomochain/dats/tomox; rm -rf /tomochain/data/tomox/*; wget -c https://snapshot.viction.xyz/TOMOX_DATA.tar.zst -O - | tar zstd xvf -C /tomochain/data/tomox'