Skip to content

Instantly share code, notes, and snippets.

@ctoestreich
Created April 25, 2018 15:50
Show Gist options
  • Save ctoestreich/1b0dd0f71283cb51217318e669c32014 to your computer and use it in GitHub Desktop.
Save ctoestreich/1b0dd0f71283cb51217318e669c32014 to your computer and use it in GitHub Desktop.
Start Datadog
nohup datadog-agent start -c /etc/datadog-agent/datadog.yaml > /logs/datadog-agent.log 2>&1&
if [ "$DATADOG_APM_ENABLED" = "true" ]; then
nohup trace-agent -config /etc/datadog-agent/datadog.yaml > /logs/trace-agent.log 2>&1&
fi
if [ "$DATADOG_PROCESS_ENABLED" = "true" ]; then
nohup process-agent -config /etc/datadog-agent/datadog.yaml > /logs/process-agent.log 2>&1&
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment