# Copyright 1999-2011 Gentoo Foundation | |
# Distributed under the terms of the GNU General Public License v2 | |
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-init-scripts/files/logrotate.mysql,v 1.2 2011/01/13 20:06:06 robbat2 Exp $ | |
/var/log/mysql/mysql.err /var/log/mysql/mysql.log /var/log/mysql/mysqld.err { | |
monthly | |
create 660 mysql mysql | |
notifempty | |
size 5M | |
sharedscripts | |
missingok | |
postrotate | |
[ -f /var/run/mysqld/mysqld.pid ] && /bin/kill -HUP `cat /var/run/mysqld/mysqld.pid` | |
endscript | |
} |