/etc/cobbler/cobblerd_rotate is in maas-provision-common 2.2.2-0ubuntu4.
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 18 19 20 21 22 23 24 25 26 27 28 | /var/log/cobbler/cobbler.log {
missingok
notifempty
rotate 4
weekly
postrotate
if [ -f /var/lock/subsys/cobblerd ]; then
/etc/init.d/cobblerd condrestart > /dev/null
fi
endscript
}
/var/log/cobbler/tasks/*.log {
weekly
rotate 0
missingok
ifempty
nocompress
nocreate
nomail
}
/var/log/cobbler/install.log {
missingok
notifempty
rotate 4
weekly
}
|