Saltstack Official Logrotate Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

pillar.example 307B

123456789101112131415
  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. - "weekly"
  9. - "missingok"
  10. - "rotate 52"
  11. - "compress"
  12. - "delaycompress"
  13. - "notifempty"
  14. - "create 640 root adm"
  15. - "sharedscripts"