Spotter-VM/lxc-apps/openmapkit/install/etc/init.d/openmapkit

20 lines
225 B
Plaintext
Executable File

#!/sbin/openrc-run
description="OpenMapKit container"
start() {
lxc-start openmapkit
}
start_post() {
vmmgr register-proxy openmapkit
}
stop_pre() {
vmmgr unregister-proxy openmapkit
}
stop() {
lxc-stop openmapkit
}