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