Add an rc script for daemon