the-bastion/etc/logrotate.d/osh-syslog.dist
Stéphane Lesimple fde20136ef
Initial commit
2020-10-20 14:30:27 +00:00

16 lines
300 B
Plaintext

/var/log/bastion/bastion*.log {
notifempty
missingok
rotate 365
daily
compress
delaycompress
create 0640 root adm
dateext
sharedscripts
postrotate
invoke-rc.d syslog-ng reload > /dev/null
endscript
}