From 16220a27e1be3dd745bae7b43c1439bcf621e70c Mon Sep 17 00:00:00 2001 From: Alexey Bannov Date: Thu, 28 May 2015 07:06:54 -0400 Subject: [PATCH] Update run-document-server.sh --- run-document-server.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-document-server.sh b/run-document-server.sh index 43dc980..133b1d0 100644 --- a/run-document-server.sh +++ b/run-document-server.sh @@ -9,6 +9,7 @@ sed "/user=/s/onlyoffice/root/" -i /etc/supervisor/conf.d/SpellCheckerService.co chown root /var/www/onlyoffice chown root /var/lib/onlyoffice +adduser --quiet www-data root DATA_DIR="/var/www/onlyoffice/Data" LOG_DIR="/var/log/onlyoffice" @@ -33,7 +34,6 @@ mkdir -p /var/log/onlyoffice/documentserver/DocService/ mkdir -p /var/log/onlyoffice/documentserver/SpellCheckerService/ mkdir -p /var/log/onlyoffice/documentserver/LibreOfficeService/ - # setup HTTPS if [ -f "${SSL_CERTIFICATE_PATH}" -a -f "${SSL_KEY_PATH}" ]; then cp ${SYSCONF_TEMPLATES_DIR}/nginx/onlyoffice-ssl ${NGINX_ONLYOFFICE_PATH}