'Send a signal to all processes in the group named \'name\'
@param string name    The group name
@param string signal  Signal to send, as name (\'HUP\') or number (\'1\')
@return array'

def signalProcessGroup(self, name, signal):

    group = self.supervisord.process_groups.get(name)
    self._update('signalProcessGroup')
    if (group is None):
        raise RPCError(Faults.BAD_NAME, name)
    processes = list(group.processes.values())
    processes.sort()
    processes = [(group, process) for process in processes]
    sendall = make_allfunc(processes, isRunning, self.signalProcess, signal=signal)
    result = sendall()
    self._update('signalProcessGroup')
    return result
