mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-05-08 02:47:29 +08:00
fix package
This commit is contained in:
12
cmd/reload_unix.go
Normal file
12
cmd/reload_unix.go
Normal file
@@ -0,0 +1,12 @@
|
||||
//go:build !windows
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
"os"
|
||||
"syscall"
|
||||
)
|
||||
|
||||
func requestGatewayReloadSignal() error {
|
||||
return syscall.Kill(os.Getpid(), syscall.SIGHUP)
|
||||
}
|
||||
Reference in New Issue
Block a user