version 1.38, 2016/08/25 17:39:04
|
version 1.39, 2016/08/28 16:15:53
|
Line 454 sub check_mysql_running {
|
Line 454 sub check_mysql_running {
|
$proc_owner = 'mysql'; |
$proc_owner = 'mysql'; |
$use_systemctl = 1; |
$use_systemctl = 1; |
} |
} |
if ($1 >= 22) { |
if ($1 >= 19) { |
$mysqldaemon ='mariadb'; |
$mysqldaemon ='mariadb'; |
} |
} |
} elsif ($distro =~ /^(?:centos|rhes|scientific)(\d+)/) { |
} elsif ($distro =~ /^(?:centos|rhes|scientific)(\d+)/) { |
Line 577 sub chkconfig {
|
Line 577 sub chkconfig {
|
$uses_systemctl{'memcached'} = 1; |
$uses_systemctl{'memcached'} = 1; |
$uses_systemctl{'cups'} = 1; |
$uses_systemctl{'cups'} = 1; |
} |
} |
if ($version >= 22) { |
if ($version >= 19) { |
$daemon{'mysql'} = 'mariadb'; |
$daemon{'mysql'} = 'mariadb'; |
} |
} |
} elsif ($distro =~ /^(?:centos|rhes|scientific)(\d+)/) { |
} elsif ($distro =~ /^(?:centos|rhes|scientific)(\d+)/) { |