A sample daemon