To make an agent run as a service, you can create the service by using following command (Change path accordingly) from a cmd window:
C:\Documents and Settings\user>sc create GoAgent2 binPath= "\"C:\Program Files\Go Agent2\cruisewrapper.exe\" -s \"C:\Program Files\Go Agent2\config\wrapper-agent.conf\""
This should create a new service called GoAgent2. After creating this service, you can start this service from the service manager.
Just to keep in mind, since we are creating the service uninstall of GoAgent2 wouldn't delete the service. We need to manually delete it from service with the following command:
C:\Documents and Settings\user>sc delete GoAgent2
Comments
0 comments
Please sign in to leave a comment.