Subversion Repositories configs

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
192 - 1
# This logname can be set in /etc/my.cnf
2
# by setting the variable "err-log"
3
# in the [mysqld] section as follows:
4
#
5
# [mysqld]
6
# log_error=/var/log/mariadb/mariadb.log
7
 
8
/var/log/mariadb/mariadb.log {
9
        create 600 mysql mysql
10
        notifempty
11
	daily
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
}