Update run-document-server.sh
This commit is contained in:
parent
c8bf4d29b5
commit
16220a27e1
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user