mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-03-27 02:01:53 +01:00
#129 make auto nat discover not default
This commit is contained in:
parent
696fa5af98
commit
f9becbc29b
@ -40,6 +40,15 @@ if [ ${afterSetupScriptExists} -eq 1 ]; then
|
||||
sleep 100
|
||||
fi
|
||||
|
||||
|
||||
################################
|
||||
# PUBLIC IP
|
||||
# for LND on startup
|
||||
################################
|
||||
printf "PUBLICIP=$(curl -vv ipinfo.io/ip 2> /run/publicip.log)\n" > /run/publicip;
|
||||
chmod 774 /run/publicip
|
||||
|
||||
|
||||
################################
|
||||
# HDD CHECK / INIT
|
||||
# for the very first setup
|
||||
|
@ -5,7 +5,7 @@ debuglevel=debug
|
||||
maxpendingchannels=5
|
||||
alias=raspiblitz
|
||||
color=#68F442
|
||||
nat=true
|
||||
nat=false
|
||||
|
||||
# RPC open to all connections on Port 10009
|
||||
rpclisten=0.0.0.0:10009
|
||||
|
@ -5,7 +5,7 @@ debuglevel=debug
|
||||
maxpendingchannels=5
|
||||
alias=raspiblitz
|
||||
color=#68F442
|
||||
nat=true
|
||||
nat=false
|
||||
|
||||
# RPC open to all connections on Port 10009
|
||||
rpclisten=0.0.0.0:10009
|
||||
|
@ -9,7 +9,8 @@ After=bitcoind.service
|
||||
#OnFailure=systemd-sendmail@%n
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/local/bin/lnd
|
||||
EnvironmentFile=/run/publicip
|
||||
ExecStart=/usr/local/bin/lnd --externalip=${PUBLICIP}
|
||||
PIDFile=/home/bitcoin/.lnd/lnd.pid
|
||||
User=bitcoin
|
||||
Group=bitcoin
|
||||
|
Loading…
x
Reference in New Issue
Block a user