mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-02 08:58:15 +02:00
#3125 activate lnd rest tor service when default
This commit is contained in:
parent
d61b058c65
commit
af97b34c99
@ -33,7 +33,13 @@ if [ ${#dynDomain} -gt 0 ]; then
|
||||
host="${dynDomain}"
|
||||
fi
|
||||
|
||||
# make sure lnd rest tor service is active when tor is active
|
||||
tor_host=$(sudo cat /mnt/hdd/tor/lndrest/hostname)
|
||||
if [ "${runBehindTor}" == "on" ] && [ "${tor_host}" == "" ]; then
|
||||
/home/admin/config.scripts/tor.onion-service.sh lndrest 8080 8080
|
||||
tor_host=$(sudo cat /mnt/hdd/tor/lndrest/hostname)
|
||||
fi
|
||||
|
||||
# tunnel thru TOR if running and supported by the wallet
|
||||
if [ ${forceTOR} -eq 1 ]; then
|
||||
host=$tor_host
|
||||
|
Loading…
x
Reference in New Issue
Block a user