Customizing Unit Files in Systemd
June 14, 2016
On a KVM virtual machine I have, I want to have the MySQL (well, MariaDB) database running on NFS, which means that I need MariaDB to only start up after NFS becomes available. This would normally require editing the default systemd unit file for MariaDB. This is a bad idea, since your changes will be reverted every package upgrade. Here’s how to fix that.
