Files
homelab-docs/docs/maintenance/logrotate/vpn-ssh.conf

20 lines
533 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# VPN / SSH: длительное хранение (90 дней), небольшой лимит размера
# Контейнер 109 (WireGuard) и общие auth/SSH логи
# Размещение: CT 109 — /etc/logrotate.d/homelab-vpn-ssh.conf
# На других хостах (опционально) — то же для auth.log / secure
/var/log/auth.log
/var/log/secure
/var/log/syslog
{
daily
maxage 90
size 10M
rotate 4
compress
delaycompress
missingok
notifempty
sharedscripts
}