otherwise using "expire-logs-days" can't work as it has no source of
flush logs event
missingok
create 640 mysql mysql
sharedscripts
+
+ # NOTE:
+ # if you run the rotation less often than "daily" then the
+ # "expire-logs-days" mysqld server parameter may no longer work as you
+ # expect
+ daily
+
postrotate
/sbin/service mysql flush-logs
endscript
Summary(zh_CN.UTF-8): MySQL数据库服务器
Name: mysql
Version: 5.5.28
-Release: 1
+Release: 2
License: GPL + MySQL FLOSS Exception
Group: Applications/Databases
# Source0Download: http://dev.mysql.com/downloads/mysql/5.5.html#downloads