mirror of
https://github.com/tiredofit/docker-collabora-online.git
synced 2024-06-20 22:45:20 +02:00
Change the way logrotation is configured
This commit is contained in:
parent
6aeacd2844
commit
ddcbcb396d
|
@ -10,6 +10,7 @@ print_debug "Creating directories and setting up logging"
|
||||||
mkdir -p "${LOG_PATH}"
|
mkdir -p "${LOG_PATH}"
|
||||||
touch "${LOG_PATH}"/"${LOG_FILE}"
|
touch "${LOG_PATH}"/"${LOG_FILE}"
|
||||||
chown -R lool "${LOG_PATH}"
|
chown -R lool "${LOG_PATH}"
|
||||||
|
create_logrotate lool ${LOG_PATH}/${LOG_FILE} none lool lool
|
||||||
|
|
||||||
print_debug "Setting up DNS Resolution"
|
print_debug "Setting up DNS Resolution"
|
||||||
rm /opt/lool/systemplate/etc/resolv.conf
|
rm /opt/lool/systemplate/etc/resolv.conf
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
<LOG_PATH>/*.log {
|
|
||||||
daily
|
|
||||||
ifempty
|
|
||||||
rotate 7
|
|
||||||
missingok
|
|
||||||
compress
|
|
||||||
dateext
|
|
||||||
copytruncate
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue