How to enable service to run in the startup
To enable service to run in the startup, use the following command.
#update-rc.d service enable
Here we need to replace "service" with the name of the service.
Note to start the command manually before executing the above command.