add letsencrypt mail just in case of vpn proxy
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-12-18 07:23:50 +00:00
parent e02259bbee
commit 8dc1814499

View File

@@ -48,6 +48,18 @@ ask_envs() {
break;
fi;
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
echo "Cron? (Y/n)";
@@ -58,17 +70,6 @@ ask_envs() {
CRON="yes";
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() {