mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-25 14:41:40 +00:00
minor
This commit is contained in:
parent
ed68afac39
commit
4c1e558413
3
le.sh
3
le.sh
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
PROJECT="https://github.com/Neilpang/le"
|
||||||
|
|
||||||
DEFAULT_CA="https://acme-v01.api.letsencrypt.org"
|
DEFAULT_CA="https://acme-v01.api.letsencrypt.org"
|
||||||
DEFAULT_AGREEMENT="https://letsencrypt.org/documents/LE-SA-v1.0.1-July-27-2015.pdf"
|
DEFAULT_AGREEMENT="https://letsencrypt.org/documents/LE-SA-v1.0.1-July-27-2015.pdf"
|
||||||
@ -295,7 +295,6 @@ _restoreApache() {
|
|||||||
cp -p "$APACHE_CONF_BACKUP_DIR/$httpdconfname" "$httpdconf"
|
cp -p "$APACHE_CONF_BACKUP_DIR/$httpdconfname" "$httpdconf"
|
||||||
if ! apachectl -t ; then
|
if ! apachectl -t ; then
|
||||||
_err "Sorry, restore apache config error, please contact me."
|
_err "Sorry, restore apache config error, please contact me."
|
||||||
_restoreApache
|
|
||||||
return 1;
|
return 1;
|
||||||
fi
|
fi
|
||||||
rm -f "$APACHE_CONF_BACKUP_DIR/$httpdconfname"
|
rm -f "$APACHE_CONF_BACKUP_DIR/$httpdconfname"
|
||||||
|
Loading…
Reference in New Issue
Block a user