fix: 更新restagent为omc

This commit is contained in:
TsMask
2025-04-01 18:44:35 +08:00
parent e02707cd0e
commit 01df7b745b
8 changed files with 12 additions and 12 deletions

View File

@@ -182,7 +182,7 @@ func (r *NeLicense) UploadLicense(neLicense model.NeLicense) error {
if neTypeLower == "ims" {
cmdStr = "ims-stop || true && ims-start"
} else if neTypeLower == "omc" {
cmdStr = "sudo systemctl restart restagent"
cmdStr = "sudo systemctl restart omc"
}
sshClient.RunCMD(cmdStr)
}