        create 600 mysql mysql
        notifempty
        daily
        rotate 3
        missingok
        nocompress
        sharedscripts
        postrotate
        # just if mysqld is really running
        if test -n "`ps acx|grep mysqld`"; then
                /usr/bin/mysqladmin flush-logs
        fi
        endscript
