lawless-design/deploy/docs/certbot-renew-hook.sh
2026-07-09 14:39:17 +08:00

7 行
80 B
Bash

#!/bin/sh
# 证书更新后执行 nginx 重载
set -eu
systemctl reload nginx