diff --git a/src/freedombone-restore-local b/src/freedombone-restore-local index 01c474b1..8606962e 100755 --- a/src/freedombone-restore-local +++ b/src/freedombone-restore-local @@ -205,7 +205,7 @@ function restore_mariadb { exit 962 fi echo $"Restarting database" - systemctl restart mysql + systemctl restart mariadb echo $"Change the MariaDB password to the backup version" DATABASE_PASSWORD="$db_pass" ${PROJECT_NAME}-pass -u root -a mariadb -p "$DATABASE_PASSWORD" diff --git a/src/freedombone-restore-remote b/src/freedombone-restore-remote index 5aa8d1e0..f97a9bd8 100755 --- a/src/freedombone-restore-remote +++ b/src/freedombone-restore-remote @@ -198,7 +198,7 @@ function restore_mariadb { exit 962 fi echo $"Restarting database" - systemctl restart mysql + systemctl restart mariadb echo $"Change the MariaDB password to the backup version" DATABASE_PASSWORD="$db_pass" ${PROJECT_NAME}-pass -u root -a mariadb -p "$DATABASE_PASSWORD" diff --git a/src/freedombone-utils-database b/src/freedombone-utils-database index b5eefeb0..66f87d58 100755 --- a/src/freedombone-utils-database +++ b/src/freedombone-utils-database @@ -166,7 +166,7 @@ function install_mariadb { # echo $'/etc/mysql/conf.d/my.cnf not found' # exit 6376245 #fi - systemctl restart mysql + systemctl restart mariadb mysqladmin -u root password "$MARIADB_PASSWORD" mark_completed $FUNCNAME