20 lines
533 B
Plaintext
20 lines
533 B
Plaintext
# 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
|
||
}
|