From 13e2639164a54cd0708c2b0c2c67b16f56e9e960 Mon Sep 17 00:00:00 2001 From: Sebastian Gumprich Date: Wed, 5 Aug 2020 13:33:43 +0200 Subject: [PATCH] change log path and name for centos>7 Signed-off-by: Sebastian Gumprich --- controls/mysql_conf.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/controls/mysql_conf.rb b/controls/mysql_conf.rb index 08877d0..2585fde 100644 --- a/controls/mysql_conf.rb +++ b/controls/mysql_conf.rb @@ -33,7 +33,9 @@ mysql_config_file = mysql_config_path + 'my.cnf' mysql_data_path = '/var/lib/mysql/' mysql_log_path = '/var/log/' + mysql_log_path = '/var/log/mariadb/' if os[:release] >= '7' mysql_log_file = 'mysqld.log' + mysql_log_file = 'mariadb.log' if os[:release] >= '7' mysql_log_group = 'mysql' service_name = 'mysqld' service_name = 'mariadb' if os[:release] >= '7'