fix
This commit is contained in:
parent
2b395f24aa
commit
0ebbd95ba7
|
@ -103,7 +103,7 @@ func registerSD(ip string, port int) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func setServerStatusFD(status string) {
|
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))
|
cmd := exec.Command("sh", "-c", fmt.Sprintf("echo %s > %s", status, serverStatusFdPath))
|
||||||
err := cmd.Run()
|
err := cmd.Run()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue