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

24 lines
287 B
Plaintext
Executable File

#!/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
}