Skip to content

Instantly share code, notes, and snippets.

@marianogg9
Created February 6, 2014 12:07
Show Gist options
  • Save marianogg9/8842908 to your computer and use it in GitHub Desktop.
Save marianogg9/8842908 to your computer and use it in GitHub Desktop.
# Rackspace NewRelic plugin
# This script keeps this service running.
expect fork
start on runlevel [2345]
stop on runlevel [016]
pre-start script
echo '{"name": "service_respawned", "output": "newrelic_rs_dfw service respawned", "status": 2}' | nc localhost 3030
end script
respawn
chdir /path/newrelic_rs_dfw
exec bundle exec ./bin/newrelic_rs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment