X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=mysql.logrotate;h=4bb78ceb9acd84287db5a16baef4e66400b9d1a3;hb=19538fde3e451c7f8fb1312cc6600bbd72cb525d;hp=6a4f7c0852818bab21a2c1311ddcd8f7e6bcd72f;hpb=dfb143c6d9c217a59af332a7feb767725e586637;p=packages%2Fmysql.git diff --git a/mysql.logrotate b/mysql.logrotate index 6a4f7c0..4bb78ce 100644 --- a/mysql.logrotate +++ b/mysql.logrotate @@ -21,6 +21,13 @@ 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