mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-27 06:54:00 +00:00
Improve reinstall of mempoolspace
This commit is contained in:
parent
52d0e2519e
commit
9cce25cdc1
|
@ -51,6 +51,8 @@ while [ 1 ]; do
|
||||||
CURRENT=$(cat $MEMPOOLSPACE_UPGRADE_URL_FILE)
|
CURRENT=$(cat $MEMPOOLSPACE_UPGRADE_URL_FILE)
|
||||||
fi
|
fi
|
||||||
if [ "$CURRENT" != "$MEMPOOLSPACE_UPGRADE_URL" ]; then
|
if [ "$CURRENT" != "$MEMPOOLSPACE_UPGRADE_URL" ]; then
|
||||||
|
docker rmi mempoolspace || true
|
||||||
|
|
||||||
cd /opt/mynode
|
cd /opt/mynode
|
||||||
rm -rf mempoolspace
|
rm -rf mempoolspace
|
||||||
wget $MEMPOOLSPACE_UPGRADE_URL -O mempool.zip
|
wget $MEMPOOLSPACE_UPGRADE_URL -O mempool.zip
|
||||||
|
|
|
@ -23,6 +23,8 @@ elif [ "$APP" = "rtl" ]; then
|
||||||
rm -f /home/bitcoin/.mynode/.rtl_url
|
rm -f /home/bitcoin/.mynode/.rtl_url
|
||||||
elif [ "$APP" = "mempoolspace" ]; then
|
elif [ "$APP" = "mempoolspace" ]; then
|
||||||
rm -f /mnt/hdd/mynode/settings/mempoolspace_url
|
rm -f /mnt/hdd/mynode/settings/mempoolspace_url
|
||||||
|
systemctl stop mempoolspace
|
||||||
|
docker rmi mempoolspace
|
||||||
elif [ "$APP" = "joinmarket" ]; then
|
elif [ "$APP" = "joinmarket" ]; then
|
||||||
rm -f /home/bitcoin/.mynode/.joinmarket_url
|
rm -f /home/bitcoin/.mynode/.joinmarket_url
|
||||||
elif [ "$APP" = "whirlpool" ]; then
|
elif [ "$APP" = "whirlpool" ]; then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user