treasure-data/td-agent — pull request #5 by nabeken (2012-07-10 07:42:34+00:00)
Title: load /etc/sysconfig/td-agent to allow user to override variables

Hi,

I want to override TD_AGENT_ARGS to change group, but /etc/init.d/td-agent does not allow.

This fix allow /etc/init.d/td-agent to load /etc/sysconfig/td-agent if the file exists and override variables such as PIDFILE, DAEMON_ARGS and TD_AGENT_ARGS via sysconfig.