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

24 lines
234 B
Plaintext
Executable File

#!/sbin/openrc-run
description="Mifos X container"
depend() {
need mariadb
}
start() {
lxc-start mifosx
}
start_post() {
vmmgr register-proxy mifosx
}
stop_pre() {
vmmgr unregister-proxy mifosx
}
stop() {
lxc-stop mifosx
}