fix: make /mnt/hdd/lnd readable

This commit is contained in:
openoms 2022-06-24 21:21:48 +01:00
parent 178d46c96f
commit 4859fdc5ef
No known key found for this signature in database
GPG key ID: 5BFB77609B081B65

View file

@ -280,6 +280,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
sudo mkdir /mnt/hdd/lnd
fi
sudo chown -R bitcoin:bitcoin /mnt/hdd/lnd
sudo chmod 755 /mnt/hdd/lnd
if [ ! -L /home/bitcoin/.lnd ];then
echo "# Linking lnd for user bitcoin"
sudo rm /home/bitcoin/.lnd 2>/dev/null