From 0c59a8d128931db8d2046a1140488aab65f2fb39 Mon Sep 17 00:00:00 2001 From: Alexey Bannov Date: Wed, 10 Jun 2015 18:38:35 +0300 Subject: [PATCH] Update run-document-server.sh --- run-document-server.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/run-document-server.sh b/run-document-server.sh index 133b1d0..08b85d7 100644 --- a/run-document-server.sh +++ b/run-document-server.sh @@ -6,6 +6,9 @@ sed "/user=/s/onlyoffice/root/" -i /etc/supervisor/conf.d/FileConverterService.c sed "/user=/s/onlyoffice/root/" -i /etc/supervisor/conf.d/LibreOfficeService.conf sed "/user=/s/onlyoffice/root/" -i /etc/supervisor/conf.d/SpellCheckerService.conf +sed "/sudo /s/-u onlyoffice//" -i /var/www/onlyoffice/documentserver/Tools/CheckDocService.sh +sed "/sudo /s/-u onlyoffice//" -i /var/www/onlyoffice/documentserver/Tools/GenerateAllFonts.sh + chown root /var/www/onlyoffice chown root /var/lib/onlyoffice