/etc/logrotate.d/zentyal-core is in zentyal-core 2.3.4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | /var/log/zentyal/error.log /var/log/zentyal/access.log /var/log/zentyal/zentyal.log /var/log/zentyal/redis-server.log /var/log/zentyal/events.log
{
rotate 7
size 10M
compress
nocreate
missingok
delaycompress
notifempty
postrotate
if [ -x /usr/sbin/invoke-rc.d ]; then \
invoke-rc.d zentyal apache restart > /dev/null; \
else \
/etc/init.d/zentyal apache restart > /dev/null; \
fi; \
endscript
}
|