Merge pull request #19 from redanthrax/MacAgent

added mesh location to agent
This commit is contained in:
Dan 2022-09-15 18:28:52 -07:00 committed by GitHub
commit 89be0e7d99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,