mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-25 14:41:40 +00:00
Merge branch 'refs/heads/pr/87'
This commit is contained in:
commit
cd441d4520
6
le.sh
6
le.sh
@ -389,6 +389,9 @@ _initpath() {
|
|||||||
domainhome="$LE_WORKING_DIR/$domain"
|
domainhome="$LE_WORKING_DIR/$domain"
|
||||||
mkdir -p "$domainhome"
|
mkdir -p "$domainhome"
|
||||||
|
|
||||||
|
if [ -z "$DOMAIN_PATH" ] ; then
|
||||||
|
DOMAIN_PATH="$domainhome"
|
||||||
|
fi
|
||||||
if [ -z "$DOMAIN_CONF" ] ; then
|
if [ -z "$DOMAIN_CONF" ] ; then
|
||||||
DOMAIN_CONF="$domainhome/$Le_Domain.conf"
|
DOMAIN_CONF="$domainhome/$Le_Domain.conf"
|
||||||
fi
|
fi
|
||||||
@ -987,6 +990,7 @@ renewAll() {
|
|||||||
|
|
||||||
Le_ReloadCmd=""
|
Le_ReloadCmd=""
|
||||||
|
|
||||||
|
DOMAIN_PATH=""
|
||||||
DOMAIN_CONF=""
|
DOMAIN_CONF=""
|
||||||
DOMAIN_SSL_CONF=""
|
DOMAIN_SSL_CONF=""
|
||||||
CSR_PATH=""
|
CSR_PATH=""
|
||||||
@ -1050,7 +1054,7 @@ installcert() {
|
|||||||
|
|
||||||
if [ "$Le_ReloadCmd" ] ; then
|
if [ "$Le_ReloadCmd" ] ; then
|
||||||
_info "Run Le_ReloadCmd: $Le_ReloadCmd"
|
_info "Run Le_ReloadCmd: $Le_ReloadCmd"
|
||||||
eval $Le_ReloadCmd
|
(cd $DOMAIN_PATH && eval $Le_ReloadCmd)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user