summarylogtreecommitdiffstats
path: root/teamcity-agent.service
blob: ea6131cb0d4e975a4e8a0cbdbba1eea7f0e23454 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[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=forking
Restart=no
TimeoutSec=30
RemainAfterExit=yes
User=teamcity

[Install]
WantedBy=multi-user.target