From f17e3f055ed28da6b7200940ce00c2ba12dac010 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Thu, 28 Jun 2012 14:26:51 +0300 Subject: [PATCH] Fixed mysql logrotation when mysql root password is set. --- mysql/files/mysql.logrotate | 1 + 1 file changed, 1 insertion(+) diff --git a/mysql/files/mysql.logrotate b/mysql/files/mysql.logrotate index 16c7a5e..e49b320 100644 --- a/mysql/files/mysql.logrotate +++ b/mysql/files/mysql.logrotate @@ -4,6 +4,7 @@ daily compress postrotate + HOME="`getent passwd ${USER} | cut -d : -f 6`" mysqladmin flush-logs endscript }