Sha256: e561abf8f153d38533880cbb2fb28b7abc442e6eeae82de1125bdbbac76057bf

Contents?: true

Size: 522 Bytes

Versions: 9

Compression:

Stored size: 522 Bytes

Contents

class Fluentd
  class Agent
    class TdAgent
      module Unix
        def start
          backup_running_config do
            detached_command("systemctl start td-agent.service")
          end
        end

        def stop
          detached_command("systemctl stop td-agent.service")
        end

        def restart
          detached_command("systemctl restart td-agent.service")
        end

        def reload
          detached_command("systemctl reload td-agent.service")
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
fluentd-ui-1.2.1 app/models/fluentd/agent/td_agent/unix.rb
fluentd-ui-1.2.0 app/models/fluentd/agent/td_agent/unix.rb
fluentd-ui-1.1.0 app/models/fluentd/agent/td_agent/unix.rb
fluentd-ui-1.0.1 app/models/fluentd/agent/td_agent/unix.rb
fluentd-ui-1.0.0 app/models/fluentd/agent/td_agent/unix.rb
fluentd-ui-1.0.0.beta.1 app/models/fluentd/agent/td_agent/unix.rb
fluentd-ui-1.0.0.alpha.3 app/models/fluentd/agent/td_agent/unix.rb
fluentd-ui-1.0.0.alpha.2 app/models/fluentd/agent/td_agent/unix.rb
fluentd-ui-1.0.0.alpha.1 app/models/fluentd/agent/td_agent/unix.rb