Sha256: 684fe476f63535a0b5730894d99a931ef3d83ce2a88f3ba359af7ccaa04838e8

Contents?: true

Size: 638 Bytes

Versions: 1

Compression:

Stored size: 638 Bytes

Contents

class Fluentd
  class Agent
    class TdAgent
      include Common
      include LocalCommon

      def self.default_options
        {
          :pid_file => "/var/run/td-agent/td-agent.pid",
          :log_file => "/var/log/td-agent/td-agent.log",
          :config_file => "/etc/td-agent/td-agent.conf",
        }
      end

      def version
        `/usr/sbin/td-agent --version`.strip
      end

      def dryrun!(file_path = nil)
        exec_dryrun("/usr/sbin/td-agent", file_path)
      end

      case FluentdUI.platform
      when :macosx
        include Macosx
      when :unix
        include Unix
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fluentd-ui-0.3.14 app/models/fluentd/agent/td_agent.rb