Skip to content

Instantly share code, notes, and snippets.

@khash
Last active April 12, 2017 00:51
Show Gist options
  • Save khash/8223260 to your computer and use it in GitHub Desktop.
Save khash/8223260 to your computer and use it in GitHub Desktop.
echo deb http://apt.newrelic.com/debian/ newrelic non-free >> /etc/apt/sources.list.d/newrelic.list
wget -O- https://download.newrelic.com/548C16BF.gpg | sudo apt-key add -
apt-get update
apt-get install newrelic-sysmond
nrsysmond-config --set license_key=YOUR_LICENSE_KEY
/etc/init.d/newrelic-sysmond start
production:
first_thing:
- source: /.cloud66/scripts/install.sh
destination: /tmp/install.sh
target: rails
apply_during: build_only
run_on: all_servers
execute: true
sudo: true
@tilsammans
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment