main/mariadb: initd fix
The start()
function honors datadir
defined in /etc/my.cnf.d/mariadb-server.cnf
whereas setup()
does not (static path /var/lib/mysql
). This is a problem once you define a path in mariadb-server.cnf
because the both functions point to different paths then.
- fixed
setup()
function (honors/etc/my.cnf.d/mariadb-server.cnf
) - made variables whitespace safe (set in quotes)
Edited by Steve Parris