|
@ -3351,12 +3351,12 @@ _installcert() { |
|
|
if [ "$Le_ReloadCmd" ]; then |
|
|
if [ "$Le_ReloadCmd" ]; then |
|
|
_info "Run Le_ReloadCmd: $Le_ReloadCmd" |
|
|
_info "Run Le_ReloadCmd: $Le_ReloadCmd" |
|
|
if ( |
|
|
if ( |
|
|
export CERT_PATH |
|
|
|
|
|
export CERT_KEY_PATH |
|
|
|
|
|
export CA_CERT_PATH |
|
|
|
|
|
export CERT_FULLCHAIN_PATH |
|
|
|
|
|
cd "$DOMAIN_PATH" && eval "$Le_ReloadCmd" |
|
|
|
|
|
); then |
|
|
|
|
|
|
|
|
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" |
|
|