mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-25 14:08:07 +00:00
Fix mempool issue if upgrading from 32-bit to 64-bit
This commit is contained in:
parent
acc11a6f52
commit
509124bd8f
|
@ -74,6 +74,8 @@ mkdir -p /home/admin/.bitcoin/
|
|||
chown admin:admin /home/admin/.bitcoin/
|
||||
rm -rf /etc/motd # Remove simple motd for update-motd.d
|
||||
|
||||
mkdir -p /mnt/hdd
|
||||
mkdir -p /mnt/usb_extras
|
||||
|
||||
# Customize logo for resellers
|
||||
if [ -f /opt/mynode/custom/logo_custom.png ]; then
|
||||
|
@ -519,6 +521,8 @@ if [ -f /mnt/hdd/mynode/mempool/.env ]; then
|
|||
fi
|
||||
if [ $IS_RASPI -eq 1 ] && [ $IS_RASPI4_ARM64 -eq 0 ]; then
|
||||
sed -i "s|MARIA_DB_IMAGE=.*|MARIA_DB_IMAGE=hypriot/rpi-mysql:latest|g" /mnt/hdd/mynode/mempool/.env
|
||||
else
|
||||
sed -i "s|MARIA_DB_IMAGE=.*|MARIA_DB_IMAGE=mariadb:10.5.8|g" /mnt/hdd/mynode/mempool/.env
|
||||
fi
|
||||
|
||||
# Setup Netdata
|
||||
|
|
Loading…
Reference in New Issue
Block a user