#!/sbin/openrc-run description="OpenDataKit Aggregate container" depend() { need postgres } start() { lxc-start opendatakit } start_post() { /usr/bin/vmmgr register-proxy opendatakit } stop_pre() { /usr/bin/vmmgr unregister-proxy opendatakit } stop() { lxc-stop opendatakit }