<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>脚本 on 我的文档站</title><link>https://www.eternal.foo/docs/debian/certbot/hooks/scripts/</link><description>Recent content in 脚本 on 我的文档站</description><generator>Hugo</generator><language>zh-CN</language><copyright>Copyright (c) 2020-2026 Thulite</copyright><atom:link href="https://www.eternal.foo/docs/debian/certbot/hooks/scripts/index.xml" rel="self" type="application/rss+xml"/><item><title>工业级 Deploy Hook 架构</title><link>https://www.eternal.foo/docs/debian/certbot/hooks/scripts/%E5%B7%A5%E4%B8%9A%E7%BA%A7-deploy-hook-%E6%9E%B6%E6%9E%84/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://www.eternal.foo/docs/debian/certbot/hooks/scripts/%E5%B7%A5%E4%B8%9A%E7%BA%A7-deploy-hook-%E6%9E%B6%E6%9E%84/</guid><description>&lt;h2 id="整体架构设计"&gt;整体架构设计&lt;/h2&gt;



&lt;div class="expressive-code"&gt;
 &lt;figure class="frame not-content"&gt;
 &lt;figcaption class="header"&gt;
 &lt;span class="title"&gt;&lt;/span&gt;
 &lt;/figcaption&gt;
 &lt;pre tabindex="0"&gt;&lt;code&gt;/etc/letsencrypt/renewal-hooks/deploy/
└── dispatcher.sh

/usr/local/lib/certbot/
├── deploy/
│ ├── 10-axigen.sh
│ ├── 20-hysteria.sh
│ └── 65535-notify.sh
│
├── lib/
│ ├── common.sh
│ └── logger.sh&lt;/code&gt;&lt;/pre&gt;
 &lt;/figure&gt;
&lt;/div&gt;
&lt;h3 id="调用链运行时依赖关系"&gt;调用链（运行时依赖关系）&lt;/h3&gt;



&lt;div class="expressive-code"&gt;
 &lt;figure class="frame not-content"&gt;
 &lt;figcaption class="header"&gt;
 &lt;span class="title"&gt;&lt;/span&gt;
 &lt;/figcaption&gt;
 &lt;pre tabindex="0"&gt;&lt;code&gt;[执行关系]
dispatcher.sh
 ↓ 调用
65535-notify.sh

[依赖关系]
65535-notify.sh
 ↓ source
common.sh
 ↓ source
logger.sh&lt;/code&gt;&lt;/pre&gt;
 &lt;/figure&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;正确的“关系方向&lt;/strong&gt;&lt;/p&gt;</description></item></channel></rss>