summaryrefslogtreecommitdiff
path: root/support-files
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2022-01-27 16:12:16 +0200
committerMonty <monty@mariadb.org>2022-01-27 16:12:16 +0200
commit008c02c987f909ec0828341b849238fdb34195aa (patch)
tree7a0223d095ea978814e6d5eb3e1f6e1265e3d1be /support-files
parent37886a29e51e6f8ebdd062251e561921895b6558 (diff)
downloadmariadb-git-008c02c987f909ec0828341b849238fdb34195aa.tar.gz
MDEV-27477 Remaining SUSE patches for 10.2+
This patch fixes the logrotate config file for mariadb. Read more at https://www.novell.com/support/kb/doc.php?id=7005219 Source: https://github.com/openSUSE/mysql-packaging/blob/master/patches/mysql-patches/mariadb-10.0.15-logrotate-su.patch
Diffstat (limited to 'support-files')
-rw-r--r--support-files/mysql-log-rotate.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/support-files/mysql-log-rotate.sh b/support-files/mysql-log-rotate.sh
index 293229d8482..9f501a4c456 100644
--- a/support-files/mysql-log-rotate.sh
+++ b/support-files/mysql-log-rotate.sh
@@ -20,6 +20,7 @@
@localstatedir@/mysqld.log {
# create 600 mysql mysql
+ su mysql mysql
notifempty
daily
rotate 3