Fix bug #164
This commit is contained in:
parent
2a78e2f6fa
commit
89c883646d
1 changed files with 6 additions and 0 deletions
|
@ -8,6 +8,7 @@ DATA_DIR="/var/www/onlyoffice/Data"
|
|||
LOG_DIR="/var/log/onlyoffice"
|
||||
DS_LOG_DIR="${LOG_DIR}/documentserver"
|
||||
LIB_DIR="/var/lib/onlyoffice"
|
||||
DS_LIB_DIR="${LIB_DIR}/documentserver"
|
||||
CONF_DIR="/etc/onlyoffice/documentserver"
|
||||
|
||||
ONLYOFFICE_DATA_CONTAINER=${ONLYOFFICE_DATA_CONTAINER:-false}
|
||||
|
@ -309,6 +310,11 @@ done
|
|||
|
||||
mkdir -p ${DS_LOG_DIR}-example
|
||||
|
||||
# create app folders
|
||||
for i in App_Data/cache/files App_Data/docbuilder; do
|
||||
mkdir -p "${DS_LIB_DIR}/$i"
|
||||
done
|
||||
|
||||
# change folder rights
|
||||
for i in ${LOG_DIR} ${LIB_DIR} ${DATA_DIR}; do
|
||||
chown -R ds:ds "$i"
|
||||
|
|
Loading…
Reference in a new issue