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

20 lines
243 B
Plaintext
Executable File

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