This commit is contained in:
lwl0608 2024-05-17 14:37:03 +08:00
parent 2b395f24aa
commit 0ebbd95ba7
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ func registerSD(ip string, port int) error {
}
func setServerStatusFD(status string) {
serverStatusFdPath := "/Users/erwin/SERVER_STATUS_FD"
serverStatusFdPath := "/app/SERVER_STATUS_FD"
cmd := exec.Command("sh", "-c", fmt.Sprintf("echo %s > %s", status, serverStatusFdPath))
err := cmd.Run()
if err != nil {