/etc/cobbler/cobblerd_rotate is in cobbler-common 2.4.1-0ubuntu2.
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
}
|