add letsencrypt mail just in case of vpn proxy
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
23
install.sh
23
install.sh
@@ -48,6 +48,18 @@ ask_envs() {
|
|||||||
break;
|
break;
|
||||||
fi;
|
fi;
|
||||||
done
|
done
|
||||||
|
|
||||||
|
echo "Please add the letsencrypt mail address:";
|
||||||
|
while read -r LETSENCRYPT_MAIL; do
|
||||||
|
if [ "$LETSENCRYPT_MAIL" != "" ]; then
|
||||||
|
if [ "$(echo "$LETSENCRYPT_MAIL" | grep '@')" != "" ]; then
|
||||||
|
if [ "$(echo "$LETSENCRYPT_MAIL" | grep '\.')" != "" ]; then
|
||||||
|
break;
|
||||||
|
fi;
|
||||||
|
fi;
|
||||||
|
fi;
|
||||||
|
echo "Invalid email address.";
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Cron? (Y/n)";
|
echo "Cron? (Y/n)";
|
||||||
@@ -58,17 +70,6 @@ ask_envs() {
|
|||||||
CRON="yes";
|
CRON="yes";
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Please add the letsencrypt mail address:";
|
|
||||||
while read -r LETSENCRYPT_MAIL; do
|
|
||||||
if [ "$LETSENCRYPT_MAIL" != "" ]; then
|
|
||||||
if [ "$(echo "$LETSENCRYPT_MAIL" | grep '@')" != "" ]; then
|
|
||||||
if [ "$(echo "$LETSENCRYPT_MAIL" | grep '\.')" != "" ]; then
|
|
||||||
break;
|
|
||||||
fi;
|
|
||||||
fi;
|
|
||||||
fi;
|
|
||||||
echo "Invalid email address.";
|
|
||||||
done
|
|
||||||
}
|
}
|
||||||
|
|
||||||
discover_services() {
|
discover_services() {
|
||||||
|
Reference in New Issue
Block a user