#!/sbin/openrc-run

description="KanBoard container"

depend() {
	need cgroups postgres
}

start() {
	lxc-start kanboard
}

start_post() {
	/usr/bin/vmmgr register-proxy kanboard
}

stop_pre() {
	/usr/bin/vmmgr unregister-proxy kanboard
}

stop() {
	lxc-stop kanboard
}
