#!/sbin/openrc-run

description="CKAN container"

depend() {
	need lxc ckan-datapusher postgres redis solr
}

start() {
	lxc-start -n ckan
}

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

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

stop() {
	lxc-stop -n ckan
}
