How to add init script as a service

1. You need to create a script file inside of

We will add this script to chkconfig

After list the CHKconfig LIST

Start the service

Example Init Script

 

#===================================================================
Other Method  , Soon  :__)