How to add odoo/openerp service as startup in CentOS?

Geminate Consultancy Services

                                                        To auto start a odoo/openerp service:

                                                        Find out the name of service’s script from /etc/init.d/ directory e.g. odoo-server

                                                        1) Add it to chkconfig

                                                            sudo /sbin/chkconfig --add odoo-server

                                                        2) Make sure it is in the chkconfig.

                                                            sudo /sbin/chkconfig --list odoo-server

                                                        3) Set it to autostart

                                                            sudo /sbin/chkconfig odoo-server on