refactor: use nginx -s reload instead of systemd
- doc: add comment
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
// Package processlock 提供服务端进程级排他锁,确保同一时刻只有一个 serve 进程持有内核锁。
|
||||
//
|
||||
// 锁基于 Linux advisory flock 实现,具体见 lock_linux.go;
|
||||
// 在非 Linux 平台返回 ErrUnsupported(见 lock_unsupported.go)。
|
||||
package processlock
|
||||
|
||||
import "errors"
|
||||
|
||||
Reference in New Issue
Block a user