#!/sbin/openrc-run

description="Odoo 10 container"

depend() {
	need postgres
}

start() {
	lxc-start odoo10
}

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

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

stop() {
	lxc-stop odoo10
}
