ansible-ops-management/files/etc/logrotate.d/syslogserver

14 lines
214 B
Plaintext
Raw Normal View History

/var/log/remote/*.log
{
daily
rotate 5
missingok
sharedscripts
compress
copytruncate
minsize 100k
postrotate
/usr/bin/systemctl -s HUP kill rsyslog.service >/dev/null 2>&1 || true
endscript
}