Move webindex in own module

This commit is contained in:
Jonas Nick 2018-12-01 21:38:08 +00:00
parent 8fae70b80a
commit 36327ae89e
2 changed files with 8 additions and 70 deletions

View file

@ -10,3 +10,9 @@ echo BITCOIND_ONION="$BITCOIND_ONION"
echo CLIGHTNING_NODEID="$CLIGHTNING_NODEID"
echo CLIGHTNING_ONION="$CLIGHTNING_ONION"
echo CLIGHTNING_ID="$CLIGHTNING_ID"
NGINX_ONION_FILE=/var/lib/tor/onion/nginx/hostname
if [ -e "$NGINX_ONION_FILE" ]; then
NGINX_ONION="$(cat $NGINX_ONION_FILE)"
echo NGINX_ONION="$NGINX_ONION"
fi