committing changes in /etc made by "-bash"
Package changes:
This commit is contained in:
11
logrotate.d/kvm_stat
Normal file
11
logrotate.d/kvm_stat
Normal file
@@ -0,0 +1,11 @@
|
||||
/var/log/kvm_stat.csv {
|
||||
size 10M
|
||||
missingok
|
||||
compress
|
||||
maxage 30
|
||||
rotate 5
|
||||
nodateext
|
||||
postrotate
|
||||
/usr/bin/systemctl try-restart kvm_stat.service
|
||||
endscript
|
||||
}
|
||||
@@ -20,6 +20,7 @@
|
||||
|
||||
/var/lib/mysql/mysqld.log {
|
||||
# create 600 mysql mysql
|
||||
su mysql mysql
|
||||
notifempty
|
||||
daily
|
||||
rotate 3
|
||||
|
||||
Reference in New Issue
Block a user