diff --git a/README.md b/README.md index 4ba7065..06929f4 100644 --- a/README.md +++ b/README.md @@ -418,6 +418,7 @@ Here's the list of all the supported environment variables: | http, intl, mongodb | `IPE_ICU_EN_ONLY=1` | Some extensions require the ICU library, use this flag to install a smaller, but English-only, ICU library on Alpine 3.16 and later | | pspell | `IPE_ASPELL_LANGUAGES='...'` | Configure the languages to be made available (for example: `IPE_ASPELL_LANGUAGES='en fr'`). If omitted, we'll assume `en` | | | `IPE_DEB_ARCHIVE` & `IPE_DEB_ARCHIVE_SECURITY` | The APT packages of very old Debian versions (eg Jessie) may have been archived: you can use these environment variables to specify custom URLs of these APT archives | +| newrelic | `IPE_NEWRELIC_DAEMON=1` | Install the NewRelic daemon | | newrelic | `NR_INSTALL_KEY` | Your New Relic license key | ## Special requirements diff --git a/install-php-extensions b/install-php-extensions index 0fa50f5..4a886f9 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -2377,6 +2377,11 @@ installNewRelic() { installNewRelic_src="$(getPackageSource "$installNewRelic_url")" cd -- "$installNewRelic_src" NR_INSTALL_USE_CP_NOT_LN=1 NR_INSTALL_SILENT=1 ./newrelic-install install + case "${IPE_NEWRELIC_DAEMON:-}" in + 1 | y* | Y*) + NR_INSTALL_USE_CP_NOT_LN=1 NR_INSTALL_SILENT=1 ./newrelic-install install_daemon + ;; + esac cd - >/dev/null cat <