Creating a Custom Ubuntu Daemon Creating a Custom Ubuntu Daemon shell shell

Creating a Custom Ubuntu Daemon


Since you asked about Ubuntu specifically, you should know that sysv-style init scripts (the ones that live under /etc/init.d) are being phased out in favor of Upstart jobs, which IMHO are a lot easier to create and work with. Here are some links to get you started:

http://upstart.ubuntu.com/

http://en.wikipedia.org/wiki/Upstart

http://www.netsplit.com/category/tech/upstart/

http://manpages.ubuntu.com/manpages/lucid/man5/init.5.html


Done.

2nd result for Google: ubuntu daemon startup