code: def get_svc_broken_path(name='*'):
      '''
      Return list of broken path(s) in SERVICE_DIR that match ``name``
  
      A path is broken if it is a broken symlink or can not be a runit service
  
      name
          a glob for service name. default is '*'
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' runit.get_svc_broken_path <service name>
      '''
      if not SERVICE_DIR:
          raise CommandExecutionError('Could not find service directory.')
  
      ret = set()
  
      for el in glob.glob(os.path.join(SERVICE_DIR, name)):
          if not _is_svc(el):
              ret.add(el)
      return sorted(retf get_svc_broken_path(name='*'):
      '''
      Return list of broken path(s) in SERVICE_DIR that match ``name``
  
      A path is broken if it is a broken symlink or can not be a runit service
  
      name
          a glob for service name. default is '*'
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' runit.get_svc_broken_path <service name>
      '''
      if not SERVICE_DIR:
          raise CommandExecutionError('Could not find service directory.')
  
      ret = set()
  
      for el in glob.glob(os.path.join(SERVICE_DIR, name)):
          if not _is_svc(el):
              ret.add(el)
      return sorted(ret)
docs: Return list of broken path(s) in SERVICE_DIR that match ``name``
  
      A path is broken if it is a broken symlink or can not be a runit service
  
      name
          a glob for service name. default is '*'
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' runit.get_svc_broken_path <service name>