How to auto run teamcity after reboot on CentOS 6.2

I have successfully installed TeamCity 7 and its all working fine.  However, i cannot figure out how to run the " start" command after every reboot.

I've tried adding the following line to /etc/rc.d/rc.local
/opt/TeamCity/bin/ start

But this command does not start the server.  I don't think there are any errors in the logs...

There's no problem accessing TeamCity after I've run the command manually:
/opt/TeamCity/bin/ start

Any ideas how i can get the server to run automatically after every reboot?

Please sign in to leave a comment.