pass the paths to reload cmd

This commit is contained in:
neil committed 2017-01-22 18:11:32 +08:00
1 parent 68aea3af9e
commit 25555b8c3e
1 file changed
+7 -2
+7 -2
View File
@@ -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"
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.