fix listen
This commit is contained in:
parent
345da9ea6c
commit
f514d9160c
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ install_lnd() {
|
||||||
log "Configuring LND to use new port $lnd_port_new."
|
log "Configuring LND to use new port $lnd_port_new."
|
||||||
|
|
||||||
sed -i '/^listen=/d' $USER_HOME/.lnd/lnd.conf
|
sed -i '/^listen=/d' $USER_HOME/.lnd/lnd.conf
|
||||||
echo "listen=:$lnd_port_new" >> $USER_HOME/.lnd/lnd.conf
|
echo "listen=0.0.0.0:$lnd_port_new" >> $USER_HOME/.lnd/lnd.conf
|
||||||
log "LND configuration updated. The service will be restarted by the installer."
|
log "LND configuration updated. The service will be restarted by the installer."
|
||||||
else
|
else
|
||||||
log "Port $lnd_port is in use by a healthy LND service (assumed to be our own). No changes will be made."
|
log "Port $lnd_port is in use by a healthy LND service (assumed to be our own). No changes will be made."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue