]> git.somenet.org - root/pub/somesible.git/blob - roles/base/logrotate/files/default/d.rsyslog
[roles/base/logrotate] install + update logrotate
[root/pub/somesible.git] / roles / base / logrotate / files / default / d.rsyslog
1 #
2 ################################################
3 ### Managed by someone's ansible provisioner ###
4 ################################################
5 # Part of: https://git.somenet.org/root/pub/somesible.git
6 # 2017-2024 by someone <someone@somenet.org>
7 #
8 /var/log/syslog
9 {
10         rotate 31
11         daily
12         missingok
13         notifempty
14         compress
15         delaycompress
16         sharedscripts
17         postrotate
18                 /usr/lib/rsyslog/rsyslog-rotate
19         endscript
20 }
21
22 /var/log/mail.log
23 /var/log/kern.log
24 /var/log/auth.log
25 /var/log/user.log
26 /var/log/cron.log
27 {
28         rotate 1
29         daily
30         missingok
31         notifempty
32         compress
33         delaycompress
34         sharedscripts
35         postrotate
36                 /usr/lib/rsyslog/rsyslog-rotate
37         endscript
38 }