3.0 source code
This commit is contained in:
14
Tools/Bin/GenerateAllFonts.sh
Normal file
14
Tools/Bin/GenerateAllFonts.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
DIR="/var/www/onlyoffice/documentserver"
|
||||
|
||||
#Start generate AllFonts.js, font thumbnails and font_selection.bin
|
||||
sudo -u onlyoffice "$DIR/Tools/AllFontsGen"\
|
||||
"/usr/share/fonts"\
|
||||
"$DIR/DocService/OfficeWeb/sdk/Common/AllFonts.js"\
|
||||
"$DIR/DocService/OfficeWeb/sdk/Common/Images"\
|
||||
"$DIR/FileConverterService/Bin/font_selection.bin"
|
||||
|
||||
#Restart web-site and converter
|
||||
sudo supervisorctl restart DocService
|
||||
sudo supervisorctl restart FileConverterService
|
||||
Reference in New Issue
Block a user