Created
February 6, 2014 12:07
-
-
Save marianogg9/8842908 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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