1
0
Fork 0
mirror of synced 2024-12-30 09:49:28 -05:00
formula-logrotate/pillar.example

48 lines
1,019 B
Text
Raw Normal View History

2015-01-21 05:00:07 -05:00
# vim: sts=2 ts=2 sw=2 et ai
logrotate:
2015-01-22 06:35:58 -05:00
lookup:
pkg: logrotate
service: crond
default_config:
weekly: True
rotate: 52
create: True
compress: True
dateext: True
2015-01-21 05:00:07 -05:00
jobs:
2017-11-15 05:18:45 -05:00
/tmp/var/log/mysql/error:
config:
- weekly
- missingok
- rotate 52
- compress
- delaycompress
- notifempty
- create 640 root adm
- sharedscripts
mysql:
2016-01-26 11:53:08 -05:00
path:
- /tmp/var/log/mysql/*.log
config:
- weekly
- missingok
- rotate 52
- compress
- delaycompress
- notifempty
- create 640 root adm
- sharedscripts
syslog:
path:
- /var/log/cron
- /var/log/maillog
- /var/log/messages
- /var/log/secure
- /var/log/spooler
- /var/log/slapd.log
config:
- sharedscripts
- postrotate
- /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
- endscript