sudo cp /etc/init.d/skeleton /etc/init.d/<jobname>

Edit it to give the path and arguments

sudo vi /etc/init.d/<jobname>



sudo cp /etc/init.d/skeleton /etc/init.d/<jobname>

Edit it to give the path and arguments

sudo vi /etc/init.d/<jobname>