Created
October 11, 2012 22:32
-
-
Save kzk/3875967 to your computer and use it in GitHub Desktop.
/usr/sbin/td-agent
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/lib/fluent/ruby/bin/ruby | |
ENV["FLUENT_CONF"]="/etc/td-agent/td-agent.conf" | |
ENV["FLUENT_PLUGIN"]="/etc/td-agent/plugin" | |
ENV["FLUENT_SOCKET"]="/var/run/td-agent/td-agent.sock" | |
# Please add these lines | |
ENV["GEM_HOME"]="/usr/lib/fluent/ruby/lib/ruby/gems/1.9.1/" | |
ENV["GEM_PATH"]="/usr/lib/fluent/ruby/lib/ruby/gems/1.9.1/" | |
load "/usr/lib/fluent/ruby/bin/fluentd" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment