Basta dare un'occhiata agli script presenti in /etc/init.d/ . Nota in particolare il README file lì. Suggerisce anche questa sezione del Debian Policy Manual sugli script di init.
 In realtà, quello che stai cercando potrebbe essere /etc/init.d/skeleton : 
# Short-Description: Example initscript
# Description:       This file should be used to construct scripts to be
#                    placed in /etc/init.d.