cleaning NODE cache

This commit is contained in:
fred 2024-01-11 01:17:20 +01:00
parent b6b3d55750
commit 4fc9b0caf3
1 changed files with 7 additions and 3 deletions

View File

@ -69,9 +69,13 @@ mkdir -p ~/.zen/tmp/${MOATS}
TW=$(ipfs add -Hq ${INDEX} | tail -n 1)
${MY_PATH}/../tools/mailjet.sh "${PLAYER}" "<html><body><h1>Hello ${PLAYER},</h1> Your TW is unplugged from Astroport : <a href='${myIPFSGW}/ipfs/${TW}'>LAST TW STATE</a>.<br><h3>May the force be with you.</h3></body></html>"
echo "PLAYER IPNS KEYS UNPLUGED"
echo "rm -Rf ~/.zen/game/players/${PLAYER}"
rm -Rf ~/.zen/game/players/${PLAYER}
echo "PLAYER IPNS KEYS UNPLUGED"
echo "#######################"
echo "CLEANING ~/.zen/game/players/${PLAYER}"
rm -Rf ~/.zen/game/players/${PLAYER-empty}
echo "CLEANING NODE CACHE ~/.zen/tmp/${IPFSNODEID-empty}/*/${PLAYER-empty}*"
rm -Rf ~/.zen/tmp/${IPFSNODEID-empty}/*/${PLAYER-empty}*
echo "CLEANING SESSION CACHE"
rm -Rf ~/.zen/tmp/${MOATS}