To auto start a new service:
1.Find out the name of service’s script from /etc/init.d/ directory e.g. mysqld or httpd
2.Add it to chkconfig
sudo /sbin/chkconfig --add mysqld
3.Make sure it is in the chkconfig.
sudo /sbin/chkconfig --list mysqld
4.Set it to autostart
sudo /sbin/chkconfig mysqld on
To stop a service from auto starting on boot
1.sudo /sbin/chkconfig mysqld off |