mirror of
https://github.com/tiredofit/docker-collabora-online.git
synced 2024-05-23 16:32:12 +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}"
|
||||
touch "${LOG_PATH}"/"${LOG_FILE}"
|
||||
chown -R lool "${LOG_PATH}"
|
||||
create_logrotate lool ${LOG_PATH}/${LOG_FILE} none lool lool
|
||||
|
||||
print_debug "Setting up DNS Resolution"
|
||||
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