Skip to content

main/mariadb: initd fix

Steve Parris requested to merge Bluemax/aports:initd-getconf-fix into master

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

Merge request reports