Commit 25555b8c authored by neil's avatar neil
Browse files

pass the paths to reload cmd

parent 68aea3af
......@@ -3349,9 +3349,14 @@ _installcert() {
fi
if [ "$Le_ReloadCmd" ]; then
_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")"
else
_err "Reload error for :$Le_Domain"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment