24 lines
264 B
Plaintext
Executable File
24 lines
264 B
Plaintext
Executable File
#!/sbin/openrc-run
|
|
|
|
description="Sahana Eden Demo container"
|
|
|
|
depend() {
|
|
need postgres
|
|
}
|
|
|
|
start() {
|
|
lxc-start sahana-demo
|
|
}
|
|
|
|
start_post() {
|
|
vmmgr register-proxy sahana-demo
|
|
}
|
|
|
|
stop_pre() {
|
|
vmmgr unregister-proxy sahana-demo
|
|
}
|
|
|
|
stop() {
|
|
lxc-stop sahana-demo
|
|
}
|