How to change service name of Mesh Agent
Opened this issue · 2 comments
Hareeshsuji commented
How to change service name of Mesh Agent? I tried passing --serviceName while installing mesh agent but still servicename is not getting changed.
clivinghouse commented
@Hareeshsuji, have you tried using --meshServiceName
?
tomsik-radek commented
Easiest way to do this would be to add the whole agentCustomization in your config.json
"_agentCustomization": {
"displayName": "Company® Product™",
"description": "Company® Product™ agent for remote monitoring, management and assistance.",
"companyName": "Company®",
"serviceName": "companyagent",
"image": "agent-logo.png",
"fileName": "compagnyagent"
},
You are looking for the "serviceName" parameter.
Also, the CompanyName will determine the name of the install folder, for example C:\Program Files\Company Name\companyAgent\companyMeshAgent.exe. As you can see serviceName is what the install subfolder be named, ideal if you have multiple agents installed (for domains)