make init.d file a template