Created
May 21, 2014 16:06
-
-
Save arashi01/47587729ef3603665871 to your computer and use it in GitHub Desktop.
Teamcity agent Systemd unit file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=TeamCity Build Agent | |
[Service] | |
Type=forking | |
User=teamcity | |
PIDFile=/opt/teamcity/logs/buildAgent.pid | |
ExecStart=/opt/teamcity/bin/agent.sh start | |
ExecStop=-/opt/teamcity/bin/agent.sh stop force | |
SuccessExitStatus=0 143 | |
[Install] | |
WantedBy=default.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment