diff --git a/generate_secrets.sh b/generate_secrets.sh index cd6712a..4059957 100755 --- a/generate_secrets.sh +++ b/generate_secrets.sh @@ -1,6 +1,7 @@ #!/bin/bash SECRETSFILE=secrets/secrets.nix +mkdir -p secrets if [ -e "$SECRETSFILE" ]; then echo $SECRETSFILE already exists diff --git a/pkgs/nodeinfo.sh b/pkgs/nodeinfo.sh index 0d4a47b..392a05a 100644 --- a/pkgs/nodeinfo.sh +++ b/pkgs/nodeinfo.sh @@ -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)"