teamcity Automatic Agent Start under Linux
Automatic Agent Start under Linux
To run agent automatically on the machine boot under Linux, configure daemon process with the
agent.sh start
command to start it and agent.sh stop
command to stop it. Refer to an example procedure below:
1. Navigate to the services start/stop services scripts directory:
2. Open the build agent service script:
3. Paste the following into the file :
4. Set the permissions to execute the file:
5. Make links to start the agent service on the machine boot and on restarts using the appropriate tool:
- For Debian/Ubuntu:
- For Red Hat/CentOS:
Comments
Post a Comment