Fix mempool database issues during reinstall

This commit is contained in:
Taylor Helsper 2023-02-19 21:38:28 -06:00
parent 5491de554f
commit 44dbaf0bd8
2 changed files with 12 additions and 0 deletions

View File

@ -78,6 +78,12 @@ elif [ "$APP" = "dojo" ]; then
rm -rf /mnt/hdd/mynode/dojo
elif [ "$APP" = "lndmanage" ]; then
pip3 uninstall -y lndmanage
elif [ "$APP" = "mempool" ]; then
cd /mnt/hdd/mynode/mempool
docker-compose rm
rm -rf data
rm -rf mysql/data
cd ~
else
echo "No custom re-install steps"
fi

View File

@ -62,6 +62,12 @@ elif [ "$APP" = "lndhub" ]; then
rm -rf /opt/mynode/LndHub
elif [ "$APP" = "lndmanage" ]; then
pip3 uninstall -y lndmanage
elif [ "$APP" = "mempool" ]; then
cd /mnt/hdd/mynode/mempool
docker-compose rm
rm -rf data
rm -rf mysql/data
cd ~
elif [ "$APP" = "rtl" ]; then
rm -rf /opt/mynode/RTL
else