1
0
mirror of https://github.com/rancher/os.git synced 2025-08-31 14:23:11 +00:00
Files
os/images/02-syslog/usr/share/logrotate/logrotate.d/syslog
niusmallnan b32e8e37d2 Refactoring each os image
More reasonable use of COPY, easy to maintain
2018-12-03 16:13:50 +08: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
}