Skip to content

Instantly share code, notes, and snippets.

@tclancy
Created October 5, 2013 15:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tclancy/6841979 to your computer and use it in GitHub Desktop.
Save tclancy/6841979 to your computer and use it in GitHub Desktop.
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