Skip to content

Commit

Permalink
USAGOV-2078-restore-newrelic: Correct the path to newrelic.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
akf committed Dec 13, 2024
1 parent 5fb416f commit e89bf39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/src/newrelic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ if [ "$(uname -m)" != 'aarch64' ]; then
-e 's/;\?newrelic.loglevel =.*/newrelic.loglevel = "info"/' \
-e 's/;\?newrelic.enabled =.*/newrelic.enabled = false/' \
-e 's/;\?newrelic.error_collector.record_database_errors =.*/newrelic.error_collector.record_database_errors = true/' \
/etc/php81/conf.d/newrelic.ini
/etc/php83/conf.d/newrelic.ini

NR_LATEST_VERSION="$(curl -sS https://download.newrelic.com/php_agent/release/ | sed -n 's/.*>\(.*linux\-musl\).tar.gz<.*/\1/p')"
export NR_LATEST_VERSION
Expand Down

0 comments on commit e89bf39

Please sign in to comment.