So here are the steps i am following . So i add a conf file inside
/etc/init.d/myconffile
And then to get System start/stop links i have to use the command
sudo update-rc.d myconffile defaults 99 2 3 4 5
And then if i reboot Ubuntu server the system will auto start the service . But what i want is that when the system starts for the first time this service is started . Is there a way to do it . I have been reading all around about this but was not able to find anything. Please let me know if you can think of a way