Newer versions of MariaDB use "mariadb" as name instead of "mysql".
@@ -227,9 +227,9 @@ if [ ! -z "$DB_SYSTEM" ] && [ "$DB_SYSTEM" != 'remote' ]; then
if [ -d "/etc/sysconfig" ]; then
service='mysqld'
proc_name='mysqld'
- if [ -e "/usr/lib/systemd/system/mariadb.service" ]; then
- service='mariadb'
- fi
+ fi
+ if [ -e "/usr/lib/systemd/system/mariadb.service" ]; then
+ service='mariadb'
fi
if [ "$service" == 'pgsql' ]; then