summarylogtreecommitdiffstats
path: root/teamcity-agent.service
blob: 17d5497339ab2020d518fcc7567347dbf2e205a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=TeamCity agent
After=network.target

[Service]
EnvironmentFile=/etc/conf.d/teamcity
ExecStart=/opt/teamcity/buildAgent/bin/agent.sh start
ExecStop=-/opt/teamcity/buildAgent/bin/agent.sh stop
Type=oneshot
Restart=no
TimeoutSec=30
RemainAfterExit=yes
User=teamcity
SuccessExitStatus=0 143

[Install]
WantedBy=multi-user.target