mirror of
https://github.com/10h30/ols-docker-env.git
synced 2026-05-12 15:21:24 +09:00
force mail
This commit is contained in:
@@ -134,10 +134,6 @@ With email notification:
|
|||||||
```
|
```
|
||||||
./bin/acme.sh [-I, --install] [-E, --email] EMAIL_ADDR
|
./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
|
### 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`:
|
Use the root domain in this command, and it will check for a certificate and automatically apply one with and without `www`:
|
||||||
```
|
```
|
||||||
|
|||||||
+2
-7
@@ -30,9 +30,7 @@ help_message(){
|
|||||||
echo "${EPACE}${EPACE}Display help and exit."
|
echo "${EPACE}${EPACE}Display help and exit."
|
||||||
echo -e "\033[1m Only for the First time\033[0m"
|
echo -e "\033[1m Only for the First time\033[0m"
|
||||||
echow '--install --email [EMAIL_ADDR]'
|
echow '--install --email [EMAIL_ADDR]'
|
||||||
echo "${EPACE}${EPACE}Will install ACME with the Email provided"
|
echo "${EPACE}${EPACE}Will install ACME with the Email provided"
|
||||||
echow '--install --no-email'
|
|
||||||
echo "${EPACE}${EPACE}Will install ACME without the Email."
|
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
"3")
|
"3")
|
||||||
@@ -204,10 +202,7 @@ while [ ! -z "${1}" ]; do
|
|||||||
-[eE] | --email ) shift
|
-[eE] | --email ) shift
|
||||||
check_input "${1}"
|
check_input "${1}"
|
||||||
EMAIL="${1}"
|
EMAIL="${1}"
|
||||||
;;
|
;;
|
||||||
-NE | --no-email ) shift
|
|
||||||
NO_EMAIL=true
|
|
||||||
;;
|
|
||||||
*)
|
*)
|
||||||
help_message 2
|
help_message 2
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user