Browse Source
Don't overwrite existing LND config after update (#904)
lnd-v0.13.1-beta
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
8 additions and
2 deletions
-
scripts/configure
-
scripts/update/.updateinclude
|
|
@ -381,11 +381,18 @@ done |
|
|
|
|
|
|
|
mv -f "$NGINX_CONF_FILE" "./nginx/nginx.conf" |
|
|
|
mv -f "$BITCOIN_CONF_FILE" "./bitcoin/bitcoin.conf" |
|
|
|
mv -f "$LND_CONF_FILE" "./lnd/lnd.conf" |
|
|
|
mv -f "$TOR_CONF_FILE" "./tor/torrc" |
|
|
|
mv -f "$ELECTRS_CONF_FILE" "./electrs/electrs.toml" |
|
|
|
mv -f "$ENV_FILE" "./.env" |
|
|
|
|
|
|
|
# Only write LND config if one doesn't already exist to preserve any user changes. |
|
|
|
if [[ -f "./lnd/lnd.conf" ]]; then |
|
|
|
echo "Skipping lnd.conf update to preserve user changes..." |
|
|
|
rm "$LND_CONF_FILE" |
|
|
|
else |
|
|
|
mv -f "$LND_CONF_FILE" "./lnd/lnd.conf" |
|
|
|
fi |
|
|
|
|
|
|
|
########################################################## |
|
|
|
######### Generate hidden services on first run ########## |
|
|
|
########################################################## |
|
|
|
|
|
@ -1,5 +1,4 @@ |
|
|
|
.env |
|
|
|
bitcoin/bitcoin.conf |
|
|
|
lnd/lnd.conf |
|
|
|
tor/torrc |
|
|
|
electrs/electrs.toml |
|
|
|