the output of the query command :param name: The name of the service :type name: ``str`` :returns: Service status and query_cmd output from the init system :rtype: ``dict`` with keys `name`, `status`, and `output` Z