mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-25 14:08:07 +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)
|
||||
fi
|
||||
if [ "$CURRENT" != "$MEMPOOLSPACE_UPGRADE_URL" ]; then
|
||||
docker rmi mempoolspace || true
|
||||
|
||||
cd /opt/mynode
|
||||
rm -rf mempoolspace
|
||||
wget $MEMPOOLSPACE_UPGRADE_URL -O mempool.zip
|
||||
|
|
|
@ -23,6 +23,8 @@ elif [ "$APP" = "rtl" ]; then
|
|||
rm -f /home/bitcoin/.mynode/.rtl_url
|
||||
elif [ "$APP" = "mempoolspace" ]; then
|
||||
rm -f /mnt/hdd/mynode/settings/mempoolspace_url
|
||||
systemctl stop mempoolspace
|
||||
docker rmi mempoolspace
|
||||
elif [ "$APP" = "joinmarket" ]; then
|
||||
rm -f /home/bitcoin/.mynode/.joinmarket_url
|
||||
elif [ "$APP" = "whirlpool" ]; then
|
||||
|
|
Loading…
Reference in New Issue
Block a user