Last active
October 5, 2015 06:58
-
-
Save iphoting/2767604 to your computer and use it in GitHub Desktop.
New Relic licensing Script
This file contains 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
#!/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