service buildAgent does not support chkconfig (Linux agent)

Answered

I'm using the instructions for configuring the Linux agent to start automatically on startup on a Linux CentOS 7 machine here:

https://www.jetbrains.com/help/teamcity/start-teamcity-agent.html#Automatic+Agent+Start+Under+Linux

When trying to execute the last step "sudo chkconfig buildAgent on" I get this error:

service buildAgent does not support chkconfig

 

1 comment
Comment actions Permalink

Hi Neil,

 

CentOS 7 should be using systemd instead of init.d, so you should be using the service file and not the init.d instructions. Can you review those?

0

Please sign in to leave a comment.