improve scripts

This commit is contained in:
openoms
2022-02-13 15:59:01 +00:00
parent 04a7618dfd
commit 2d6a05aa8f
2 changed files with 21 additions and 13 deletions

View File

@@ -1,13 +1,18 @@
echo "Input your email:
#!/bin/bash
echo "
Input your email:
"
read EMAIL
echo "Input a subdomain set up with an A record pointing to this server:
echo "
Input a subdomain set up with an A record pointing to this server:
eg.: electrum.example.com
"
read SUBDOMAIN
echo "Input the TCP port of the Electrum Server to be redirected to:
echo "
Input the TCP port of the Electrum Server to be redirected to:
eg.: https://192.168.1.42:50021
"
read REDIRECT
@@ -73,4 +78,4 @@ stream {
sudo nginx -t || exit 1
# restart
sudo systemctl restart nginx
sudo systemctl reload nginx