'Remove a stopped process from the active configuration.
@param string name         name of process group to remove
@return boolean result     Indicates whether the removal was successful'

def removeProcessGroup(self, name):

    self._update('removeProcessGroup')
    if (name not in self.supervisord.process_groups):
        raise RPCError(Faults.BAD_NAME, name)
    result = self.supervisord.remove_process_group(name)
    if (not result):
        raise RPCError(Faults.STILL_RUNNING, name)
    return True
