fix(ci): nginx reload 改用 systemctl reload-or-restart,避免空 PID 文件报错
nginx -s reload 依赖 /run/nginx.pid,该文件为空时报 invalid PID number。 改用 systemctl reload-or-restart(经 systemd MAINPID 发 HUP,运行中则 reload、 未运行则启动),并 enable nginx 保证重启后自启。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [1.0.8] - 2026-06-03
|
||||
|
||||
### 修复
|
||||
- 修复 EC2 部署最后一步 nginx reload 失败(`invalid PID number`):改用 `systemctl reload-or-restart nginx`(经 systemd MAINPID 发 HUP,不依赖空的 /run/nginx.pid),并 `enable nginx` 确保重启后自启
|
||||
|
||||
## [1.0.7] - 2026-06-03
|
||||
|
||||
### 修复
|
||||
|
||||
Reference in New Issue
Block a user