diff --git a/run-document-server.sh b/run-document-server.sh index 6caf351..11aa8f4 100755 --- a/run-document-server.sh +++ b/run-document-server.sh @@ -42,9 +42,10 @@ ONLYOFFICE_DEFAULT_CONFIG=${CONF_DIR}/local.json ONLYOFFICE_LOG4JS_CONFIG=${CONF_DIR}/log4js/production.json ONLYOFFICE_EXAMPLE_CONFIG=${CONF_DIR}-example/local.json -JSON="json -q -f ${ONLYOFFICE_DEFAULT_CONFIG}" -JSON_LOG="json -q -f ${ONLYOFFICE_LOG4JS_CONFIG}" -JSON_EXAMPLE="json -q -f ${ONLYOFFICE_EXAMPLE_CONFIG}" +JSON_BIN=${APP_DIR}/npm/node_modules/.bin/json +JSON="${JSON_BIN} -q -f ${ONLYOFFICE_DEFAULT_CONFIG}" +JSON_LOG="${JSON_BIN} -q -f ${ONLYOFFICE_LOG4JS_CONFIG}" +JSON_EXAMPLE="${JSON_BIN} -q -f ${ONLYOFFICE_EXAMPLE_CONFIG}" LOCAL_SERVICES=()