After making changes to systemd units, you need to run systemctl daemon-reload
for those changes to have effect.
Auto-start MariaDB using systemd after it has crashed
After making changes to systemd units, you need to run systemctl daemon-reload
for those changes to have effect.