def status
      return true unless config.managed?

      out = exec('status').read
      out =~ /running on port #{port}/
    rescue
      false
    end
def status
      return true unless config.managed?

      out = exec('status').read
      out =~ /running on port #{port}/
    rescue
      false
    end
Check the status of a managed Solr service