Fix minishift startup

This commit is contained in:
Alexey Golubev 2018-10-02 19:36:14 +03:00
parent 0effd2b6b8
commit 23d320dc2a
2 changed files with 2 additions and 6 deletions

View file

@ -267,15 +267,11 @@ done
mkdir -p ${DS_LOG_DIR}-example
# change folder rights
for i in ${CONF_DIR} ${LOG_DIR} ${LIB_DIR} ${DATA_DIR}; do
for i in ${LOG_DIR} ${LIB_DIR} ${DATA_DIR}; do
chown -R onlyoffice:onlyoffice "$i"
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