Setup logrotate config rights

This commit is contained in:
Alexey Golubev 2018-10-02 15:16:50 +03:00
parent 3696139db2
commit 0effd2b6b8

View file

@ -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