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

21 行
444B

  1. # -*- coding: utf-8 -*-
  2. # vim: ft=yaml
  3. ---
  4. logrotate:
  5. bin: /usr/sbin/logrotate
  6. status_dir: /var/lib/logrotate
  7. pkg: logrotate
  8. conf_file: '/etc/logrotate.conf'
  9. include_dir: '/etc/logrotate.d'
  10. hourly_conf_file: '/etc/logrotate.hourly.conf'
  11. hourly_include_dir: '/etc/logrotate.hourly.d'
  12. user: root
  13. group: root
  14. service: cron
  15. login_records_jobs: true
  16. default_config:
  17. weekly: true
  18. rotate: 4
  19. create: true
  20. jobs: {}