neil authored and neil committed 2026-04-04 21:18:36 +08:00
1 parent 13d6496653
commit 3b503a009c
1 file changed
+8
+8
View File
@@ -5765,6 +5765,9 @@ ${_skipped_msg}
fi fi
fi fi
if [ "$_TREAT_SKIP_AS_SUCCESS" ] && [ "$_ret" = "$RENEW_SKIP" ]; then
_ret=0
fi
return "$_ret" return "$_ret"
} }
@@ -6983,6 +6986,7 @@ cron() {
_info "Automatically upgraded to: $VER" _info "Automatically upgraded to: $VER"
fi fi
_TREAT_SKIP_AS_SUCCESS="1"
renewAll renewAll
_ret="$?" _ret="$?"
_ACME_IN_CRON="" _ACME_IN_CRON=""
@@ -7230,6 +7234,7 @@ Parameters:
--local-address <ip> Specifies the standalone/tls server listening address, in case you have multiple ip addresses. --local-address <ip> Specifies the standalone/tls server listening address, in case you have multiple ip addresses.
--listraw Only used for '--list' command, list the certs in raw format. --listraw Only used for '--list' command, list the certs in raw format.
-se, --stop-renew-on-error Only valid for '--renew-all' command. Stop if one cert has error in renewal. -se, --stop-renew-on-error Only valid for '--renew-all' command. Stop if one cert has error in renewal.
--treat-skip-as-success Only valid for '--renew-all' command. Treat skipped certs as success, return 0 instead of $RENEW_SKIP.
--insecure Do not check the server certificate, in some devices, the api server's certificate may not be trusted. --insecure Do not check the server certificate, in some devices, the api server's certificate may not be trusted.
--ca-bundle <file> Specifies the path to the CA certificate bundle to verify api server's certificate. --ca-bundle <file> Specifies the path to the CA certificate bundle to verify api server's certificate.
--ca-path <directory> Specifies directory containing CA certificates in PEM format, used by wget or curl. --ca-path <directory> Specifies directory containing CA certificates in PEM format, used by wget or curl.
@@ -7710,6 +7715,9 @@ _process() {
-f | --force) -f | --force)
FORCE="1" FORCE="1"
;; ;;
--treat-skip-as-success | --treatskipassuccess)
_TREAT_SKIP_AS_SUCCESS="1"
;;
--staging | --test) --staging | --test)
STAGE="1" STAGE="1"
;; ;;
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.