diff --git a/run-document-server.sh b/run-document-server.sh index 2bcdcc2..30a3f3b 100755 --- a/run-document-server.sh +++ b/run-document-server.sh @@ -284,6 +284,7 @@ update_rabbitmq_setting(){ } update_redis_settings(){ + ${JSON} -I -e "if(this.services.CoAuthoring.redis===undefined)this.services.CoAuthoring.redis={};" ${JSON} -I -e "this.services.CoAuthoring.redis.host = '${REDIS_SERVER_HOST}'" ${JSON} -I -e "this.services.CoAuthoring.redis.port = '${REDIS_SERVER_PORT}'" }