diff --git a/run-document-server.sh b/run-document-server.sh index c4ad86f..5e2585f 100755 --- a/run-document-server.sh +++ b/run-document-server.sh @@ -272,6 +272,10 @@ for i in ${CONF_DIR} ${LOG_DIR} ${LIB_DIR} ${DATA_DIR}; do chmod -R 755 "$i" done +#setup logrotate config rights +chmod 644 ${CONF_DIR}/logrotate/* +chown root:root ${CONF_DIR}/logrotate/* + if [ ${ONLYOFFICE_DATA_CONTAINER_HOST} = "localhost" ]; then read_setting