add systemd settings

import from
https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/mariadb and modified