Spotter-VM/opendatakit-build/install/etc/init.d/opendatakit-build

24 lines
307 B
Plaintext
Executable File

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