mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-25 14:08:07 +00:00
Improve specter migration to HDD
This commit is contained in:
parent
ba441bdc3b
commit
7fbcf6e5c2
|
@ -259,7 +259,7 @@ if [ -d /opt/mynode/lnbits ]; then
|
|||
fi
|
||||
|
||||
# Setup Specter
|
||||
if [ -d /home/bitcoin/.specter ]; then
|
||||
if [ -d /home/bitcoin/.specter ] && [ ! -L /home/bitcoin/.specter ] ; then
|
||||
# Migrate to HDD
|
||||
cp -r -f /home/bitcoin/.specter/* /mnt/hdd/mynode/specter/
|
||||
chown -R bitcoin:bitcoin /mnt/hdd/mynode/specter
|
||||
|
|
Loading…
Reference in New Issue
Block a user