Add custom LND config
This commit is contained in:
parent
37c81fcb54
commit
1cddc60267
|
@ -1,6 +1,8 @@
|
||||||
=== v0.1.59 ===
|
=== v0.1.59 ===
|
||||||
- Add 443 to Tor
|
- Add 443 to Tor
|
||||||
- Big fix re SSH key and random PW creation
|
- Big fix re SSH key and random PW creation
|
||||||
|
- SSDs skip QuickSync by default
|
||||||
|
- Custom LND Config
|
||||||
|
|
||||||
=== v0.1.58 ===
|
=== v0.1.58 ===
|
||||||
- Add improved debug info
|
- Add improved debug info
|
||||||
|
|
|
@ -138,7 +138,7 @@ cp -f /usr/share/mynode/bitcoin.conf /mnt/hdd/mynode/bitcoin/bitcoin.conf
|
||||||
touch /mnt/hdd/mynode/settings/bitcoin_additional_config
|
touch /mnt/hdd/mynode/settings/bitcoin_additional_config
|
||||||
echo "" >> /mnt/hdd/mynode/bitcoin/bitcoin.conf
|
echo "" >> /mnt/hdd/mynode/bitcoin/bitcoin.conf
|
||||||
echo "" >> /mnt/hdd/mynode/bitcoin/bitcoin.conf
|
echo "" >> /mnt/hdd/mynode/bitcoin/bitcoin.conf
|
||||||
echo "### CUSTOM CONFIG ###" >> /mnt/hdd/mynode/bitcoin/bitcoin.conf
|
echo "### CUSTOM BTC CONFIG ###" >> /mnt/hdd/mynode/bitcoin/bitcoin.conf
|
||||||
echo "" >> /mnt/hdd/mynode/bitcoin/bitcoin.conf
|
echo "" >> /mnt/hdd/mynode/bitcoin/bitcoin.conf
|
||||||
cat /mnt/hdd/mynode/settings/bitcoin_additional_config >> /mnt/hdd/mynode/bitcoin/bitcoin.conf
|
cat /mnt/hdd/mynode/settings/bitcoin_additional_config >> /mnt/hdd/mynode/bitcoin/bitcoin.conf
|
||||||
|
|
||||||
|
@ -154,6 +154,13 @@ chown admin:admin /home/admin/.bitcoin/bitcoin.conf
|
||||||
|
|
||||||
# LND Config
|
# LND Config
|
||||||
cp /usr/share/mynode/lnd.conf /mnt/hdd/mynode/lnd/lnd.conf
|
cp /usr/share/mynode/lnd.conf /mnt/hdd/mynode/lnd/lnd.conf
|
||||||
|
touch /mnt/hdd/mynode/settings/lnd_additional_config
|
||||||
|
echo "" >> /mnt/hdd/mynode/lnd/lnd.conf
|
||||||
|
echo "" >> /mnt/hdd/mynode/lnd/lnd.conf
|
||||||
|
echo "### CUSTOM LND CONFIG ###" >> /mnt/hdd/mynode/lnd/lnd.conf
|
||||||
|
echo "" >> /mnt/hdd/mynode/lnd/lnd.conf
|
||||||
|
cat /mnt/hdd/mynode/settings/lnd_additional_config >> /mnt/hdd/mynode/lnd/lnd.conf
|
||||||
|
|
||||||
ALIAS=$(cat /mnt/hdd/mynode/settings/.lndalias)
|
ALIAS=$(cat /mnt/hdd/mynode/settings/.lndalias)
|
||||||
sed -i "s/alias=.*/alias=$ALIAS/g" /mnt/hdd/mynode/lnd/lnd.conf
|
sed -i "s/alias=.*/alias=$ALIAS/g" /mnt/hdd/mynode/lnd/lnd.conf
|
||||||
chown bitcoin:bitcoin /mnt/hdd/mynode/lnd/lnd.conf
|
chown bitcoin:bitcoin /mnt/hdd/mynode/lnd/lnd.conf
|
||||||
|
|
Loading…
Reference in New Issue
Block a user