Skip to content

Instantly share code, notes, and snippets.

@okisanjp
Created October 31, 2014 17:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save okisanjp/6d34e0a8ad016a7672fd to your computer and use it in GitHub Desktop.
Save okisanjp/6d34e0a8ad016a7672fd to your computer and use it in GitHub Desktop.
td-agentをroot権限で起動する ref: http://qiita.com/okisanjp/items/af7f6a6b50acc2760313
DAEMON_ARGS="--user root"
TD_AGENT_ARGS="/usr/sbin/td-agent --group root --log /var/log/td-agent/td-agent.log"
# /etc/init.d/td-agent restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment