#8528·certbot

如果任何部署钩子失败, certbot 应退出非零状态

作者: alexzorin创建于 2020年12月12日更新于 2026年7月1日
标签feature requestarea: error handlingarea: hooks

这是一个在论坛上提出的请求 [https://community.letsencrypt.org/t/deploy-hook-failure-doesnt-make-certbot-renew-command-fail/140367?u=_az] 。如果 Certbot 无法部署证书(例如,部署到远程服务器),那么从大的角度来看,更新实际上并没有成功。在这种情况下,失败应反映在非零退出代码中。这将使其他工具能够捕获失败,例如,如果您有某些工具监控 systemd 单元的状态。

内容来源: certbot/certbot