Products | Versions |
---|---|
TIBCO Cloud | - |
We have an enhancement logged (IPAS-17712) with engineering to support Hybrid agent(aka tibagent) as a windows service. As a workaround we are listing out possible solutions until the enhancement is addressed.
1) Use tibtunnel as temporary solution as it supports registering windows service https://supportapps.tibco.com/ka/article/287/000043287.htm
2) Use 3rd party solution to register as windows service like sc.exe ( https://docs.microsoft.com/en-US/windows-server/administration/windows-commands/sc-create) or NSSM (http://nssm.cc)
tibagent configure agent testagent |
tibagent configure connect --accessSecret abcdefgh1234567890 --accessKey test testagent |
nssm install <servicename> |
Ex: nssm install tibagentNT
Path: path to tibagent executable Startup Directory: Tibagent directory Arguments: Rest of the tibagent start command. |
NOTE: Specify the config directory in the tibagent start command even if using the default directory.