Instantly share code, notes, and snippets.

Embed
What would you like to do?
Daemonize the PostgreSQL plugin for New Relic at https://rpm.newrelic.com/accounts/230318/plugins/directory/30. Requires installing Daemons (http://daemons.rubyforge.org/)
#!/usr/bin/env ruby
require 'rubygems'
require 'daemons'
Daemons.run('postgresql_agent.rb')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment