Breakthroughs, discoveries, and DIY tips sent every weekday. Terms of Service and Privacy Policy. This story has been updated. It was originally published on November ...
You will need to use the stuff in the /etc/init.d/functions file, specifically the deamon() function I think.