change how daemon is started