2018-01-24 15:18:55 +01:00
|
|
|
#!/sbin/openrc-run
|
|
|
|
|
2018-09-14 09:43:54 +02:00
|
|
|
description="Ushahidi container"
|
2018-01-24 15:18:55 +01:00
|
|
|
|
|
|
|
depend() {
|
2018-09-14 10:41:00 +02:00
|
|
|
need mariadb
|
2018-01-24 15:18:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
start() {
|
2018-09-14 09:43:54 +02:00
|
|
|
lxc-start ushahidi
|
2018-01-24 15:18:55 +01:00
|
|
|
}
|
|
|
|
|
2018-03-25 23:21:54 +02:00
|
|
|
start_post() {
|
2019-02-26 21:11:08 +01:00
|
|
|
vmmgr register-proxy ushahidi
|
2018-04-29 20:48:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
stop_pre() {
|
2019-02-26 21:11:08 +01:00
|
|
|
vmmgr unregister-proxy ushahidi
|
2018-03-25 23:21:54 +02:00
|
|
|
}
|
|
|
|
|
2018-01-24 15:18:55 +01:00
|
|
|
stop() {
|
2018-09-14 09:43:54 +02:00
|
|
|
lxc-stop ushahidi
|
2018-01-24 15:18:55 +01:00
|
|
|
}
|