feat: 新增系统全局配置&修改账号密码

This commit is contained in:
meilin.huang
2022-08-26 20:15:36 +08:00
parent 09e6bdcf7e
commit 7761fe0288
89 changed files with 2035 additions and 209 deletions

View File

@@ -138,7 +138,7 @@ func (m *Machine) KillProcess(rc *ctx.ReqCtx) {
cli := m.MachineApp.GetCli(GetMachineId(rc.GinCtx))
biz.ErrIsNilAppendErr(m.ProjectApp.CanAccess(rc.LoginAccount.Id, cli.GetMachine().ProjectId), "%s")
_, err := cli.Run("kill -9 " + pid)
_, err := cli.Run("sudo kill -9 " + pid)
biz.ErrIsNilAppendErr(err, "终止进程失败: %s")
}