wok-next view logrotate/stuff/logrotate.conf @ rev 20963

Add hackdorte-artwork and remove appropriate old packages with dead homepages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Sep 08 15:02:14 2018 +0300 (2018-09-08)
parents
children
line source
1 # Begin of /etc/logrotate.conf
3 # Rotate log files weekly
4 weekly
6 # Don't mail logs to anybody
7 nomail
9 # If the log file is empty, it will not be rotated
10 notifempty
12 # Number of backups that will be kept
13 # This will keep the 2 newest backups only
14 rotate 2
16 # Create new empty files after rotating old ones
17 # This will create empty log files, with owner
18 # set to root, group set to sys, and permissions 644
19 create 0664 root sys
21 # Compress the backups with gzip
22 compress
24 # No packages own lastlog or wtmp -- rotate them here
25 /var/log/wtmp {
26 monthly
27 create 0664 root utmp
28 rotate 1
29 }
31 /var/log/lastlog {
32 monthly
33 rotate 1
34 }
36 # Some packages drop log rotation info in this directory
37 # so we include any file in it.
38 include /etc/logrotate.d
40 # End of /etc/logrotate.conf