fix: 重启信号
This commit is contained in:
@@ -245,7 +245,6 @@ func (s *SystemController) RebootApp(c *gin.Context) {
|
||||
_, err := cmd.ExecWithCheck("nohup", "sh", "-c", "sleep 2s && service omc restart", "> /dev/null 2>&1 &\n")
|
||||
if err != nil {
|
||||
fmt.Printf("NE service reboot error %s \n", err.Error())
|
||||
return
|
||||
}
|
||||
}()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user