Skip to content

Instantly share code, notes, and snippets.

@marianogg9
Created February 11, 2014 18:49
Show Gist options
  • Save marianogg9/8941403 to your computer and use it in GitHub Desktop.
Save marianogg9/8941403 to your computer and use it in GitHub Desktop.
# Rackspace NewRelic plugin
start on runlevel [2345]
stop on runlevel [016]
pre-start script
echo '{"name": "check_respawn", "output": "newrelic_rs_dfw service respawned", "status": 2, "handlers": ["twitter"], "subscribers": "aws"}' | nc localhost 3030
end script
respawn
exec sudo -u root 'bundle exec /path_to_plugin/newrelic/newrelic_rs_dfw/bin/newrelic_rs'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment