fix
This commit is contained in:
parent
d21f625787
commit
e9116d17d4
|
@ -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