feat: create standalone native fnOS repository

This commit is contained in:
2026-10-02 15:19:09 +08:00
parent 69f3c30fab
commit 6725fc131d
492 changed files with 94023 additions and 3 deletions
+11
View File
@@ -0,0 +1,11 @@
package nginx
// ReadPID reads a PID from the given pid file.
func ReadPID(path string) (int, error) {
return readPIDFile(path)
}
// IsPIDAlive reports whether the process with the given PID is running.
func IsPIDAlive(pid int) bool {
return isPIDAlive(pid)
}