24 lines
243 B
Plaintext
Executable File
24 lines
243 B
Plaintext
Executable File
#!/sbin/openrc-run
|
|
|
|
description="Ushahidi container"
|
|
|
|
depend() {
|
|
need mariadb
|
|
}
|
|
|
|
start() {
|
|
lxc-start ushahidi
|
|
}
|
|
|
|
start_post() {
|
|
vmmgr register-proxy ushahidi
|
|
}
|
|
|
|
stop_pre() {
|
|
vmmgr unregister-proxy ushahidi
|
|
}
|
|
|
|
stop() {
|
|
lxc-stop ushahidi
|
|
}
|