From ca51627bd2eb78cdced8143ccf6789f4a878727f Mon Sep 17 00:00:00 2001 From: Christian Rotzoll Date: Thu, 11 Apr 2019 22:00:41 +0100 Subject: [PATCH] #324 fix replay after update --- home.admin/_bootstrap.provision.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home.admin/_bootstrap.provision.sh b/home.admin/_bootstrap.provision.sh index b892d0f..f2b906c 100644 --- a/home.admin/_bootstrap.provision.sh +++ b/home.admin/_bootstrap.provision.sh @@ -221,7 +221,7 @@ echo "" >> ${logFile} echo "*** Replay backup of LND directory" >> ${logFile} if [ -d "/mnt/hdd/backup_lnd" ]; then echo "Copying ..." >> ${logFile} - sudo cp -r /mnt/hdd/backup_lnd /mnt/hdd/lnd >> ${logFile} 2>&1 + sudo cp -r /mnt/hdd/backup_lnd/* /mnt/hdd/lnd >> ${logFile} 2>&1 echo "Updating user admin creds ..." >> ${logFile} sudo cp /mnt/hdd/lnd/lnd.conf /home/admin/.lnd/lnd.conf >> ${logFile} 2>&1 sudo cp /mnt/hdd/lnd/tls.cert /home/admin/.lnd/tls.cert >> ${logFile} 2>&1