diff --git a/README.md b/README.md index a925c07..d654b60 100644 --- a/README.md +++ b/README.md @@ -185,7 +185,7 @@ Below is the complete list of parameters that can be set using environment varia - **METRICS_HOST**: Defines StatsD listening host. Defaults to `localhost`. - **METRICS_PORT**: Defines StatsD listening port. Defaults to `8125`. - **METRICS_PREFIX**: Defines StatsD metrics prefix for backend services. Defaults to `ds.`. -- **GENERATE_FONTS_THEMES_ENABLED**: When 'true' regenerates fonts list and the fonts thumbnails e.t.c. at each start. Defaults to `true` +- **GENERATE_FONTS**: When 'true' regenerates fonts list and the fonts thumbnails e.t.c. at each start. Defaults to `true` ## Installing ONLYOFFICE Document Server integrated with Community and Mail Servers diff --git a/run-document-server.sh b/run-document-server.sh index a33b12d..affc159 100755 --- a/run-document-server.sh +++ b/run-document-server.sh @@ -49,7 +49,7 @@ JWT_SECRET=${JWT_SECRET:-secret} JWT_HEADER=${JWT_HEADER:-Authorization} JWT_IN_BODY=${JWT_IN_BODY:-false} -GENERATE_FONTS_THEMES_ENABLED=${GENERATE_FONTS_THEMES_ENABLED:-true} +GENERATE_FONTS=${GENERATE_FONTS:-true} if [[ ${PRODUCT_NAME} == "documentserver" ]]; then REDIS_ENABLED=false @@ -539,7 +539,7 @@ fi service nginx start # Regenerate the fonts list and the fonts thumbnails -if [ "${GENERATE_FONTS_THEMES_ENABLED}" == "true" ]; then +if [ "${GENERATE_FONTS}" == "true" ]; then documentserver-generate-allfonts.sh ${ONLYOFFICE_DATA_CONTAINER} fi documentserver-static-gzip.sh ${ONLYOFFICE_DATA_CONTAINER}