1
0
mirror of https://github.com/rancher/os.git synced 2025-07-16 16:11:03 +00:00
os/images/02-syslog/logrotate.d/syslog
Stephen Drake 8289d4e1bb Add logrotate and cron system services to support basic log rotation.
Signed-off-by: Stephen Drake <stephen@xenolith.net>
2017-07-07 13:49:17 +02:00

14 lines
186 B
Plaintext

/var/log/messages
/var/log/secure
/var/log/syslog
{
rotate 7
daily
delaycompress
missingok
sharedscripts
postrotate
/usr/bin/ros service kill --signal SIGHUP syslog
endscript
}