force mail

This commit is contained in:
Cold-Egg
2021-06-24 14:51:07 +08:00
parent 51712ae88e
commit 96cfb22867
2 changed files with 2 additions and 11 deletions
-4
View File
@@ -134,10 +134,6 @@ With email notification:
```
./bin/acme.sh [-I, --install] [-E, --email] EMAIL_ADDR
```
Without email notification:
```
./bin/acme.sh [-I, --install] [-NE, --no-email]
```
### Applying a Let's Encrypt Certificate
Use the root domain in this command, and it will check for a certificate and automatically apply one with and without `www`:
```
+2 -7
View File
@@ -30,9 +30,7 @@ help_message(){
echo "${EPACE}${EPACE}Display help and exit."
echo -e "\033[1m Only for the First time\033[0m"
echow '--install --email [EMAIL_ADDR]'
echo "${EPACE}${EPACE}Will install ACME with the Email provided"
echow '--install --no-email'
echo "${EPACE}${EPACE}Will install ACME without the Email."
echo "${EPACE}${EPACE}Will install ACME with the Email provided"
exit 0
;;
"3")
@@ -204,10 +202,7 @@ while [ ! -z "${1}" ]; do
-[eE] | --email ) shift
check_input "${1}"
EMAIL="${1}"
;;
-NE | --no-email ) shift
NO_EMAIL=true
;;
;;
*)
help_message 2
;;