Skip to content

Instantly share code, notes, and snippets.

@iphoting
Last active October 5, 2015 06:58
Show Gist options
  • Save iphoting/2767604 to your computer and use it in GitHub Desktop.
Save iphoting/2767604 to your computer and use it in GitHub Desktop.
New Relic licensing Script
#!/usr/bin/env bash
if [ -f /app/local/NEWRELIC_VERSION ]; then
sed -i "s|REPLACE_WITH_REAL_KEY|${NEW_RELIC_LICENSE_KEY}|g" /app/vendor/php/etc.d/*newrelic*.ini
else
sed -i "s|REPLACE_WITH_REAL_KEY|${NEW_RELIC_LICENSE_KEY}|g" /app/local/etc/newrelic.cfg
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment