Subversion Repositories configs

Rev

Rev 192 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
192 - 1
# This logname can be set in /etc/my.cnf
193 - 2
# by setting the variable "log-error"
192 - 3
# in the [mysqld] section as follows:
4
#
5
# [mysqld]
193 - 6
# log-error=/var/log/mariadb/mariadb.log
192 - 7
 
8
/var/log/mariadb/mariadb.log {
9
        create 600 mysql mysql
10
        notifempty
193 - 11
        daily
192 - 12
        rotate 3
13
        missingok
14
        compress
15
    postrotate
16
	# just if mysqld is really running
17
        if [ -e /run/mariadb/mariadb.pid ]
18
        then
19
           kill -1 $(</run/mariadb/mariadb.pid)
20
        fi
21
    endscript
22
}