added mesh location to agent
This commit is contained in:
parent
89d7ec8242
commit
b21929d044
1 changed files with 4 additions and 0 deletions
|
|
@ -130,6 +130,10 @@ func New(logger *logrus.Logger, version string) *Agent {
|
|||
MeshSysExe = "/opt/tacticalmesh/meshagent"
|
||||
}
|
||||
|
||||
if runtime.GOOS == "darwin" {
|
||||
MeshSysExe = "/usr/local/mesh_services/meshagent/meshagent_osx64"
|
||||
}
|
||||
|
||||
svcConf := &service.Config{
|
||||
Executable: exe,
|
||||
Name: winSvcName,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue