Saltstack Official Logrotate Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 line
554B

  1. # vim: sts=2 ts=2 sw=2 et ai
  2. logrotate:
  3. lookup:
  4. pkg: logrotate
  5. service: crond
  6. jobs:
  7. /tmp/var/log/mysql/error:
  8. config:
  9. - weekly
  10. - missingok
  11. - rotate 52
  12. - compress
  13. - delaycompress
  14. - notifempty
  15. - create 640 root adm
  16. - sharedscripts
  17. mysql:
  18. path: /tmp/var/log/mysql/*.log
  19. config:
  20. - weekly
  21. - missingok
  22. - rotate 52
  23. - compress
  24. - delaycompress
  25. - notifempty
  26. - create 640 root adm
  27. - sharedscripts