From c8bf4d29b5170f0447ce1acd891e394c87feedda Mon Sep 17 00:00:00 2001 From: Alexey Bannov Date: Mon, 25 May 2015 06:47:54 -0400 Subject: [PATCH] create log base folder --- run-document-server.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/run-document-server.sh b/run-document-server.sh index ab6af1c..43dc980 100644 --- a/run-document-server.sh +++ b/run-document-server.sh @@ -26,6 +26,14 @@ SYSCONF_TEMPLATES_DIR="/app/onlyoffice/setup/config" NGINX_ONLYOFFICE_PATH="/etc/nginx/sites-enabled/onlyoffice-documentserver"; +# create base folders +mkdir -p /var/log/onlyoffice/documentserver/FileConverterService/ +mkdir -p /var/log/onlyoffice/documentserver/CoAuthoringService/ +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}