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

24 lines
252 B
Plaintext
Raw Normal View History

2018-01-19 20:32:16 +01:00
#!/sbin/openrc-run
2018-09-13 21:10:32 +02:00
description="Mifos X container"
2018-01-19 20:32:16 +01:00
depend() {
need mariadb
2018-01-19 20:32:16 +01:00
}
start() {
2018-09-13 21:10:32 +02:00
lxc-start mifosx
2018-01-19 20:32:16 +01:00
}
start_post() {
2018-09-04 21:42:26 +02:00
/usr/bin/vmmgr register-proxy mifosx
}
stop_pre() {
2018-09-04 21:42:26 +02:00
/usr/bin/vmmgr unregister-proxy mifosx
}
2018-01-19 20:32:16 +01:00
stop() {
2018-09-13 21:10:32 +02:00
lxc-stop mifosx
2018-01-19 20:32:16 +01:00
}