{ "module": "logrotate", "version": "1", "capabilities": [ "package-manager", "service-manager" ], "tools": [ "logrotate_status", "logrotate_configs", "logrotate_check", "logrotate_big_logs", "logrotate_force", "logrotate_journal_usage", "logrotate_journal_vacuum" ], "resources": [ { "id": "package", "type": "package", "package": "logrotate" }, { "id": "config", "type": "file", "path": "/etc/logrotate.conf", "mode": "0644", "content": "# The mesh's (module logrotate, novox/hq to-be 42): the base configuration every rotation inherits.\n# Written whole at every push; an edit here is overwritten. Each package's own rules are in\n# /etc/logrotate.d and stay the packages'.\n\n# Weekly, four weeks kept, a new empty log created after each rotation.\nweekly\nrotate 4\ncreate\n\n# Rotated logs are compressed, one rotation late, so a program still writing to the file it had open\n# loses nothing to the compression.\ncompress\ndelaycompress\n\n# A package's replaced configuration is never read as a rule.\ntabooext + .pacorig .pacnew .pacsave\n\ninclude /etc/logrotate.d\n\n/var/log/wtmp {\n monthly\n create 0664 root utmp\n minsize 1M\n rotate 1\n}\n\n/var/log/btmp {\n missingok\n monthly\n create 0600 root utmp\n rotate 1\n}\n" }, { "id": "timer", "type": "service", "unit": "logrotate.timer", "state": "running", "boot": "enabled" } ], "build": { "artifacts": [ { "name": "tools", "kind": "bundle", "language": "go", "system": "arch", "from": "cmd/logrotate-tools", "binary": "logrotate-tools", "loads": [ "logrotate-tools" ] } ] } }