You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
264 B
INI

[Unit]
Description=TeamCity Build Agent
After=network.target
[Service]
Type=oneshot
User=root
Group=root
ExecStart=/root/agent/bin/agent.sh start
ExecStop=-/root/agent/bin/agent.sh stop
RemainAfterExit=yes
SuccessExitStatus=0 143
[Install]
WantedBy=default.target