From e9116d17d4036bd623bcfa1f4c43ddb94aa684ab Mon Sep 17 00:00:00 2001 From: lwl0608 Date: Fri, 17 May 2024 14:37:03 +0800 Subject: [PATCH] fix --- library/httpserver/httpserver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/httpserver/httpserver.go b/library/httpserver/httpserver.go index bd169891..ecf9d0f8 100644 --- a/library/httpserver/httpserver.go +++ b/library/httpserver/httpserver.go @@ -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 {