I can never remember all the steps involved in making a daemon process. Here is how.