#!/sbin/openrc-run description="CKAN container" depend() { need ckan-datapusher postgres redis solr } start() { lxc-start ckan } start_post() { /usr/bin/vmmgr register-proxy ckan } stop_pre() { /usr/bin/vmmgr unregister-proxy ckan } stop() { lxc-stop ckan }