Update run-document-server.sh

This commit is contained in:
Alexey Bannov 2015-06-10 18:38:35 +03:00
parent 62a83637f6
commit 0c59a8d128

@ -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/LibreOfficeService.conf
sed "/user=/s/onlyoffice/root/" -i /etc/supervisor/conf.d/SpellCheckerService.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/www/onlyoffice
chown root /var/lib/onlyoffice chown root /var/lib/onlyoffice