What's the "correct" way to create a custom daemon in Ubuntu, that will start at boot time and be controllable by Ubuntu's standard daemon start/stop commands?
Can I just copy and paste one of the scripts in /etc/init.d or do I need to "register" the daemon somewhere else?