mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-22 22:33:46 +03:00
Fix minor bugs
This commit is contained in:
parent
25d52c4d10
commit
5b63e7eb27
@ -1,6 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
SECRETSFILE=secrets/secrets.nix
|
||||
mkdir -p secrets
|
||||
|
||||
if [ -e "$SECRETSFILE" ]; then
|
||||
echo $SECRETSFILE already exists
|
||||
|
@ -17,12 +17,6 @@ if [ -e "$NGINX_ONION_FILE" ]; then
|
||||
echo NGINX_ONION="$NGINX_ONION"
|
||||
fi
|
||||
|
||||
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
|
||||
|
||||
SPARKWALLET_ONION_FILE=/var/lib/tor/onion/spark-wallet/hostname
|
||||
if [ -e "$SPARKWALLET_ONION_FILE" ]; then
|
||||
SPARKWALLET_ONION="$(cat $SPARKWALLET_ONION_FILE)"
|
||||
|
Loading…
Reference in New Issue
Block a user