fix: ...
This commit is contained in:
1 parent
2fe18cc937
commit
85da7684b7
4 files changed
+7
-7
No files matched your search
+1
-1
@@ -861,7 +861,7 @@ func PostNeServiceAction(w http.ResponseWriter, r *http.Request) {
|
||||
case "omc":
|
||||
// send 204 to fe firstly
|
||||
services.ResponseStatusOK204NoContent(w)
|
||||
//actionCmd := fmt.Sprintf("sudo %s/bin/omcsvc.sh %s", config.GetYamlConfig().NE.OmcDir, action)
|
||||
//actionCmd := fmt.Sprintf("sudo %s/bin/psapsvc.sh %s", config.GetYamlConfig().NE.OmcDir, action)
|
||||
actionCmd := fmt.Sprintf("sudo systemctl %s restagent", action)
|
||||
go RunSSHCmd(sshHost, actionCmd)
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user