As of MariaDB 10.5 the service name and binaries have changed from mysql, mysqld, etc to mariadbd. See: https://mariadb.com/kb/en/upgrading-from-mariadb-104-to-mariadb-105/
Set some sane defaults and manage the config file with a template.