I've successfully installed TeamCity ib CentOS 6.2 Minimal. I'm stuck on trying to run a script automatically on system startup:
/opt/TeamCity/bin/teamcity-server.sh start
I've googled around and tried various methods all of which seems to fail. Most of the methods points to adding the startup script to one of the rc.local files:
/etc/rc.d/rc.local
/etc/rc.local
And the contents of rc.local contains the line:
/opt/TeamCity/bin/teamcity-server.sh start
None of which will start the teamcity server
There are no problems if i run the script manually.
Seems simple but how do i get a shell script to auto run?