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