Spotter-VM/ushahidi/install/etc/init.d/ushahidi

24 lines
261 B
Plaintext
Executable File

#!/sbin/openrc-run
description="Ushahidi container"
depend() {
need mariadb
}
start() {
lxc-start ushahidi
}
start_post() {
/usr/bin/vmmgr register-proxy ushahidi
}
stop_pre() {
/usr/bin/vmmgr unregister-proxy ushahidi
}
stop() {
lxc-stop ushahidi
}