#!/sbin/openrc-run

description="CTS container"

depend() {
	need cgroups postgres
}

start() {
	lxc-start cts
}

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

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

stop() {
	lxc-stop cts
}
