updated for unix build
This commit is contained in:
parent
66aca05028
commit
e20edcc9ad
37 changed files with 1001 additions and 257 deletions
|
|
@ -7,6 +7,7 @@ import (
|
|||
"time"
|
||||
|
||||
"github.com/amidaware/rmmagent/agent/system"
|
||||
"github.com/amidaware/rmmagent/agent/tactical/mesh"
|
||||
"github.com/amidaware/rmmagent/agent/utils"
|
||||
"github.com/amidaware/rmmagent/shared"
|
||||
"github.com/go-resty/resty/v2"
|
||||
|
|
@ -166,7 +167,7 @@ func RecoverMesh(agentID string) {
|
|||
opts := system.NewCMDOpts()
|
||||
opts.Command = "systemctl restart meshagent.service"
|
||||
system.CmdV2(opts)
|
||||
SyncMeshNodeID()
|
||||
mesh.SyncMeshNodeID()
|
||||
}
|
||||
|
||||
func UninstallCleanup() {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue