mirror of
https://github.com/rancher/os.git
synced 2025-09-26 13:13:02 +00:00
Refactoring each os image
More reasonable use of COPY, easy to maintain
This commit is contained in:
13
images/02-syslog/usr/share/logrotate/logrotate.d/syslog
Normal file
13
images/02-syslog/usr/share/logrotate/logrotate.d/syslog
Normal file
@@ -0,0 +1,13 @@
|
||||
/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
|
||||
}
|
Reference in New Issue
Block a user