Spotter-VM/mariadb/install/etc/init.d/mariadb

16 lines
197 B
Plaintext
Executable File

#!/sbin/openrc-run
description="MariaDB container"
start() {
lxc-start mariadb
}
start_post() {
ewaitfile 60 /var/lib/lxc/mariadb/delta0/run/mysqld/mysqld.sock
}
stop() {
lxc-stop mariadb
}