refactor: use nginx -s reload instead of systemd

- doc: add comment
This commit is contained in:
2026-08-17 10:10:14 +08:00
parent 79f18fcdea
commit f536987a7e
62 changed files with 2216 additions and 598 deletions
+2
View File
@@ -9,6 +9,8 @@ import (
"testing"
)
// TestLockUsesKernelOwnershipAndLeavesFileInPlace 验证锁由内核状态决定所有权、
// 锁文件在释放后保留、写入诊断 PID,并可在释放后重新获取。
func TestLockUsesKernelOwnershipAndLeavesFileInPlace(t *testing.T) {
t.Parallel()
path := filepath.Join(t.TempDir(), "serve.lock")