AGENTS.md@infrastructure/logrotate.d · git:20260516.97ec6c2 · 2026-05-16 · sha256 9d5da3aa2e906c4e

AGENTS.md@infrastructure/logrotate.d git:20260516.97ec6c2A

Immutable. This exact content is served forever at /api/v1/blob/9d5da3aa2e906c4e.

# Logrotate Configuration

## Overview

Technical guide for `infrastructure/logrotate.d/` — logrotate configuration files for the template repository's log rotation.

## Files

| File | Purpose |
|------|---------|
| `template` | Logrotate configuration for template pipeline and agent logs |

## Key Conventions

- Configuration follows standard logrotate syntax.
- Install system-wide with: `sudo cp infrastructure/logrotate.d/template /etc/logrotate.d/`
- Test dry-run with: `logrotate -d /etc/logrotate.d/template`
- The manual rotation script lives at [`docs/operational/scripts/rotate-logs.sh`](../../docs/operational/scripts/rotate-logs.sh).

## See Also

- [README.md](README.md) — Quick navigation
- [../../docs/operational/maintenance.md](../../docs/operational/maintenance.md) — Maintenance procedures
- [../../docs/operational/scripts/rotate-logs.sh](../../docs/operational/scripts/rotate-logs.sh) — Manual rotation script