diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index f256c7f16a..ba33f29c12 100755 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -20,7 +20,7 @@ function setEnvironmentVariable() { } # Grep for variables that look like MySQL (APP_) -for _curVar in `env | grep _APP_ | awk -F = '{print $1}'`;do +for _curVar in $(env | grep _APP_ | awk -F = '{print $1}');do # awk has split them by the equals sign # Pass the name and value to our function setEnvironmentVariable ${_curVar} ${!_curVar} @@ -30,4 +30,4 @@ echo newrelic.license = \"$_APP_NEWRELIC_KEY\" > /etc/php/7.3/fpm/conf.d/newreli echo newrelic.license = \"$_APP_NEWRELIC_KEY\" > /etc/php/7.3/cli/conf.d/newrelic.ini # Start supervisord and services -/usr/bin/supervisord -n -c /etc/supervisord.conf \ No newline at end of file +/usr/bin/supervisord -n -c /etc/supervisord.conf diff --git a/docs/tutorials/environment-variables.md b/docs/tutorials/environment-variables.md index 5dc31274cf..842601a614 100644 --- a/docs/tutorials/environment-variables.md +++ b/docs/tutorials/environment-variables.md @@ -10,7 +10,7 @@ Set your server running environment. By default, the var is set to 'development' ### _APP_OPTIONS_ABUSE -Allows you to disable abuse checks and API rate limiting. By default, set to 'enabled'. To cancel the abuse checking, set to 'disabled'. It is not recommended to disable this check in a production environment. +Allows you to disable abuse checks and API rate limiting. By default, set to 'enabled'. To cancel the abuse checking, set to 'disabled'. It is not recommended to disable this check-in a production environment. ### _APP_OPENSSL_KEY_V1