mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-10-26 21:22:16 +08:00
fix: config
This commit is contained in:
parent
bc09ca0f44
commit
1750ca896d
@ -2,6 +2,7 @@ package etcd
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
"os/exec"
|
"os/exec"
|
||||||
"runtime"
|
"runtime"
|
||||||
@ -104,6 +105,7 @@ func restartServer(ctx context.Context) error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return errs.New("restart server fail").Wrap()
|
return errs.New("restart server fail").Wrap()
|
||||||
}
|
}
|
||||||
|
fmt.Println(cmd.String())
|
||||||
|
|
||||||
os.Exit(0)
|
os.Exit(0)
|
||||||
return nil
|
return nil
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user