the-bastion/etc/logrotate.d/osh-syslog.dist

16 lines
300 B
Text
Raw Normal View History

2020-10-16 00:32:37 +08:00
/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
}