We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a9019f7 + d4214bb commit 86aa289Copy full SHA for 86aa289
container/root/run.d/07-newrelic.sh
@@ -1,7 +1,7 @@
1
#!/bin/bash
2
3
# When both App ID and license are provided, automatically enable extension
4
-if [ $REPLACE_NEWRELIC_APP ] && [ $REPLACE_NEWRELIC_LICENSE ]
+if [[ $REPLACE_NEWRELIC_APP ]] && [[ $REPLACE_NEWRELIC_LICENSE ]]
5
then
6
echo "[newrelic] enabling APM metrics for ${REPLACE_NEWRELIC_APP}"
7
sed -i 's/;extension\s\?=/extension =/' $CONF_PHPMODS/newrelic.ini
0 commit comments