Fixed mysql logrotation when mysql root password is set.

This commit is contained in:
Timo Mkinen 2012-06-28 14:26:51 +03:00
parent 76ae752706
commit f17e3f055e

View file

@ -4,6 +4,7 @@
daily
compress
postrotate
HOME="`getent passwd ${USER} | cut -d : -f 6`"
mysqladmin flush-logs
endscript
}