Browse Source

Remove LND overwritten files

master
nolim1t 5 years ago
parent
commit
748284a04f
No known key found for this signature in database GPG Key ID: F6287B82CC84BCBD
  1. 6
      stage2/07-configure-LND/01-run.sh
  2. 38
      stage2/07-configure-LND/files/lnd.conf
  3. 0
      stage2/07-set-bitcoind-perms/01-run.sh
  4. 0
      stage2/08-configure-tor/01-run.sh
  5. 7
      stage2/08-configure-tor/files/torrc

6
stage2/07-configure-LND/01-run.sh

@ -1,6 +0,0 @@
chmod 644 files/lnd.conf
echo "Copying lnd.conf to overwrite the existing LND.conf"
cp files/lnd.conf ${ROOTFS_DIR}/home/${FIRST_USER_NAME}/lnd/lnd.conf
on_chroot << EOF
chown -R ${FIRST_USER_NAME}:${FIRST_USER_NAME} /home/${FIRST_USER_NAME}
EOF

38
stage2/07-configure-LND/files/lnd.conf

@ -1,38 +0,0 @@
[Application Options]
listen=0.0.0.0:9735
rpclisten=0.0.0.0:10009
restlisten=0.0.0.0:8080
maxpendingchannels=3
minchansize=1337
alias=Umbrel Node
color=#5351FB
; Makes routing faster but have to use images built with experimental tag
[Routing]
routing.assumechanvalid=1
[Bitcoin]
; If the Bitcoin chain should be active. Atm, only a single chain can be
; active.
bitcoin.active=1
bitcoin.mainnet=1
; Use neutrino for now, but maybe it could be permanent and then switch
; to a full node once its working?
bitcoin.node=neutrino
bitcoin.defaultchanconfs=2
; Add neutrino peers
; TODO: umbrel to set up a neutrino peer to support umbrel nodes
[neutrino]
neutrino.addpeer=bb2.breez.technology
neutrino.addpeer=mainnet1-btcd.zaphq.io
neutrino.addpeer=mainnet2-btcd.zaphq.io
[tor]
tor.active=1
tor.control=9051
tor.socks=9050
tor.v3=1
tor.dns=soa.nodes.lightning.directory:53

0
stage2/08-set-bitcoind-perms/01-run.sh → stage2/07-set-bitcoind-perms/01-run.sh

0
stage2/09-configure-tor/01-run.sh → stage2/08-configure-tor/01-run.sh

7
stage2/09-configure-tor/files/torrc → stage2/08-configure-tor/files/torrc

@ -7,8 +7,9 @@ Log debug file /var/log/tor/debug.log
DataDirectory /var/lib/tor
ControlPort 9051
# Use password Later when lnd supports it
#HashedControlPassword 16:872860B76453A77D60CA2BB8C1A7042072093276A3D701AD684053EC4C
# Default password for umbrel tor
HashedControlPassword 16:50A873DF18C00F4A6048BF1CEF7E7AA66478F0B5134DA4369D80657F26
# Backwards compatibility
CookieAuthentication 1
# Allow this for now
@ -18,5 +19,3 @@ HiddenServicePort 22 127.0.0.1:22
HiddenServiceDir /var/lib/tor/web
HiddenServicePort 80 127.0.0.1:80
Loading…
Cancel
Save