#!/sbin/openrc-run

description="MariaDB container"

depend() {
	need cgroups
}

start() {
	/usr/bin/lxc-start mariadb
}

start_post() {
	ewaitfile 60 /var/lib/lxc/mariadb/delta0/run/mysqld/mysqld.sock
}

stop() {
	/usr/bin/lxc-stop mariadb
}
