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

24 lines
252 B
Plaintext
Executable File

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