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

24 lines
239 B
Plaintext
Executable File

#!/sbin/openrc-run
description="Sahana Eden container"
depend() {
need postgres
}
start() {
lxc-start sahana
}
start_post() {
vmmgr register-proxy sahana
}
stop_pre() {
vmmgr unregister-proxy sahana
}
stop() {
lxc-stop sahana
}