10 lines
203 B
Text
10 lines
203 B
Text
/var/log/mysqld*.log {
|
|
create 0640 mysql mysql
|
|
notifempty
|
|
daily
|
|
compress
|
|
postrotate
|
|
HOME="`getent passwd ${USER} | cut -d : -f 6`"
|
|
mysqladmin flush-logs
|
|
endscript
|
|
}
|