Fix logrotate postrotate command
[packages/centos7/cobbler.git] / cobblerd.logrotate
1 /var/log/cobbler/cobbler.log {
2    missingok
3    notifempty
4    rotate 4
5    weekly
6    postrotate
7       systemctl try-restart cobblerd
8    endscript
9 }
10
11 /var/log/cobbler/tasks/*.log {
12    weekly
13    rotate 0
14    missingok
15    ifempty
16    nocompress
17    nocreate
18    nomail
19 }
20
21 /var/log/cobbler/install.log {
22    missingok
23    notifempty
24    rotate 4
25    weekly
26 }