v5.0.4
This commit is contained in:
commit
0d6fdee656
2
Makefile
2
Makefile
@ -1,6 +1,6 @@
|
|||||||
COMPANY_NAME ?= onlyoffice
|
COMPANY_NAME ?= onlyoffice
|
||||||
GIT_BRANCH ?= origin/develop
|
GIT_BRANCH ?= origin/develop
|
||||||
PRODUCT_NAME ?= documentserver-integration
|
PRODUCT_NAME ?= documentserver-ie
|
||||||
PRODUCT_VERSION ?= 0.0.0
|
PRODUCT_VERSION ?= 0.0.0
|
||||||
BUILD_NUMBER ?= 0
|
BUILD_NUMBER ?= 0
|
||||||
|
|
||||||
|
@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
APP_DIR="/var/www/onlyoffice/documentserver"
|
APP_DIR="/var/www/onlyoffice/documentserver"
|
||||||
DATA_DIR="/var/www/onlyoffice/Data"
|
DATA_DIR="/var/www/onlyoffice/Data"
|
||||||
LOG_DIR="/var/log/onlyoffice/documentserver"
|
LOG_DIR="/var/log/onlyoffice"
|
||||||
|
DS_LOG_DIR="${LOG_DIR}/documentserver"
|
||||||
|
LIB_DIR="/var/lib/onlyoffice"
|
||||||
CONF_DIR="/etc/onlyoffice/documentserver"
|
CONF_DIR="/etc/onlyoffice/documentserver"
|
||||||
|
|
||||||
ONLYOFFICE_DATA_CONTAINER=${ONLYOFFICE_DATA_CONTAINER:-false}
|
ONLYOFFICE_DATA_CONTAINER=${ONLYOFFICE_DATA_CONTAINER:-false}
|
||||||
@ -251,10 +253,16 @@ update_log_settings(){
|
|||||||
|
|
||||||
# create base folders
|
# create base folders
|
||||||
for i in converter docservice spellchecker metrics gc; do
|
for i in converter docservice spellchecker metrics gc; do
|
||||||
mkdir -p "${LOG_DIR}/$i"
|
mkdir -p "${DS_LOG_DIR}/$i"
|
||||||
done
|
done
|
||||||
|
|
||||||
mkdir -p ${LOG_DIR}-example
|
mkdir -p ${DS_LOG_DIR}-example
|
||||||
|
|
||||||
|
# change folder rights
|
||||||
|
for i in ${LOG_DIR} ${LIB_DIR} ${DATA_DIR}; do
|
||||||
|
chown -R onlyoffice:onlyoffice "$i"
|
||||||
|
chmod -R 755 "$i"
|
||||||
|
done
|
||||||
|
|
||||||
if [ ${ONLYOFFICE_DATA_CONTAINER_HOST} = "localhost" ]; then
|
if [ ${ONLYOFFICE_DATA_CONTAINER_HOST} = "localhost" ]; then
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user