Helper for creating simple custom daemons