1
0
Fork 0
mirror of synced 2024-06-05 00:31:08 -04:00
formula-logrotate/pillar.example
Nicole Scherfenberg e70f0818d8 fixes issue #5
splits config file name and log file path, so you configure both.
This fixes #5.
2015-05-05 15:20:54 +02:00

28 lines
554 B
Plaintext

# vim: sts=2 ts=2 sw=2 et ai
logrotate:
lookup:
pkg: logrotate
service: crond
jobs:
/tmp/var/log/mysql/error:
config:
- weekly
- missingok
- rotate 52
- compress
- delaycompress
- notifempty
- create 640 root adm
- sharedscripts
mysql:
path: /tmp/var/log/mysql/*.log
config:
- weekly
- missingok
- rotate 52
- compress
- delaycompress
- notifempty
- create 640 root adm
- sharedscripts