I have a small Python-based server program that runs fine, but I want launched each time the server is rebooted. What is the least that I need to put into an /etc/init.d script to work? I only care about "stop" and "start" (and thus probably the trivial "restart").
Im using this script for any service in linux, i wrote in bash , i think this script can help you .
http://fajlinux.com.br/scripts/script-modelo-para-qualquer-servico-linux/