mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-25 14:41:40 +00:00
pass the paths to reload cmd
This commit is contained in:
parent
68aea3af9e
commit
25555b8c3e
9
acme.sh
9
acme.sh
@ -3349,9 +3349,14 @@ _installcert() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$Le_ReloadCmd" ]; then
|
if [ "$Le_ReloadCmd" ]; then
|
||||||
|
|
||||||
_info "Run Le_ReloadCmd: $Le_ReloadCmd"
|
_info "Run Le_ReloadCmd: $Le_ReloadCmd"
|
||||||
if (cd "$DOMAIN_PATH" && eval "$Le_ReloadCmd"); then
|
if (
|
||||||
|
export CERT_PATH
|
||||||
|
export CERT_KEY_PATH
|
||||||
|
export CA_CERT_PATH
|
||||||
|
export CERT_FULLCHAIN_PATH
|
||||||
|
cd "$DOMAIN_PATH" && eval "$Le_ReloadCmd"
|
||||||
|
); then
|
||||||
_info "$(__green "Reload success")"
|
_info "$(__green "Reload success")"
|
||||||
else
|
else
|
||||||
_err "Reload error for :$Le_Domain"
|
_err "Reload error for :$Le_Domain"
|
||||||
|
Loading…
Reference in New Issue
Block a user