File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ if ! test -e /data/db/protocolMagicId; then
34
34
mkdir -p /data
35
35
cd /data
36
36
echo " Starting: /usr/local/bin/mithril-client cardano-db download ${SNAPSHOT_DIGEST} ${ANCILLARY_VERIFICATION_KEY: +--include-ancillary} "
37
+ echo " (This could take a while...)"
37
38
# Handle SIGTERM during initial sync
38
39
trap ' kill -TERM $(pidof mithril-client)' TERM
39
40
# Run mithril-client in the background so we can capture the PID and wait
Original file line number Diff line number Diff line change @@ -130,6 +130,7 @@ if ! test -e ${CARDANO_DATABASE_PATH}/protocolMagicId; then
130
130
cd $( dirname ${CARDANO_DATABASE_PATH} )
131
131
export AGGREGATOR_ENDPOINT GENESIS_VERIFICATION_KEY ANCILLARY_VERIFICATION_KEY SNAPSHOT_DIGEST
132
132
echo " Starting: /usr/local/bin/mithril-client cardano-db download ${SNAPSHOT_DIGEST} ${ANCILLARY_VERIFICATION_KEY: +--include-ancillary} "
133
+ echo " (This could take a while...)"
133
134
if [[ $( cd ${CARDANO_DATABASE_PATH} 2> /dev/null; pwd -P) != $( pwd -P) /db ]]; then
134
135
rm -rf db/*
135
136
fi
You can’t perform that action at this time.
0 commit comments