How can I configure my CentOS 5.5 to autostart some applications after rebooting?
I want to start nginx, mysqld and call some commands like
rvm use ree.
CentOS uses chkconfig to manage its startup scripts.
If it isn't already configured to be on at runlevel 3 (the default runlevel for centos servers), run
You could write your own startup script to work with chkconfig for Nginx. Then you'll be able to manage it the same way as MySQL.
To make the system run custom commands at startup, you can add them to the