Spotter-VM/lxc-apps/pandora/install/etc/init.d/pandora

24 lines
250 B
Plaintext
Executable File

#!/sbin/openrc-run
description="Pan.do/ra container"
depend() {
need postgres rabbitmq
}
start() {
lxc-start pandora
}
start_post() {
vmmgr register-proxy pandora
}
stop_pre() {
vmmgr unregister-proxy pandora
}
stop() {
lxc-stop pandora
}