Add proxy and hidden service to liquidd

This commit is contained in:
nixbitcoin 2019-03-14 10:36:18 +01:00
parent 8b9c9bd70a
commit de889d584f
No known key found for this signature in database
GPG key ID: DD11F9AD5308B3BA
2 changed files with 15 additions and 1 deletions

View file

@ -17,6 +17,12 @@ if [ -e "$NGINX_ONION_FILE" ]; then
echo NGINX_ONION="$NGINX_ONION"
fi
LIQUIDD_ONION_FILE=/var/lib/tor/onion/liquidd/hostname
if [ -e "$LIQUIDD_ONION_FILE" ]; then
LIQUIDD_ONION="$(cat $LIQUIDD_ONION_FILE)"
echo LIQUIDD_ONION="$LIQUIDD_ONION"
fi
SPARKWALLET_ONION_FILE=/var/lib/tor/onion/spark-wallet/hostname
if [ -e "$SPARKWALLET_ONION_FILE" ]; then
SPARKWALLET_ONION="$(cat $SPARKWALLET_ONION_FILE)"